|
@@ -1639,7 +1639,7 @@ static int pkt_probe_settings(struct pktcdvd_device *pd)
|
|
pd->settings.size = be32_to_cpu(ti.fixed_packet_size) << 2;
|
|
pd->settings.size = be32_to_cpu(ti.fixed_packet_size) << 2;
|
|
if (pd->settings.size == 0) {
|
|
if (pd->settings.size == 0) {
|
|
printk("pktcdvd: detected zero packet size!\n");
|
|
printk("pktcdvd: detected zero packet size!\n");
|
|
- pd->settings.size = 128;
|
|
|
|
|
|
+ return -ENXIO;
|
|
}
|
|
}
|
|
if (pd->settings.size > PACKET_MAX_SECTORS) {
|
|
if (pd->settings.size > PACKET_MAX_SECTORS) {
|
|
printk("pktcdvd: packet size is too big\n");
|
|
printk("pktcdvd: packet size is too big\n");
|