[mac80211] fix for commit r17276
[openwrt.git] / target / linux / generic-2.4 / patches / 229-usb_storage_16_byte_cdb.patch
1 --- a/drivers/usb/storage/scsiglue.c.old 2009-03-30 09:08:02.000000000 +0200
2 +++ b/drivers/usb/storage/scsiglue.c 2009-03-30 09:02:53.000000000 +0200
3 @@ -95,6 +95,11 @@
4 if (us->host) {
5 us->host->hostdata[0] = (unsigned long)us;
6 us->host_no = us->host->host_no;
7 +
8 + /* allow 16-byte CDBs as we need it for devices > 2TB
9 + and ATA command pass-through */
10 + us->host->max_cmd_len = 16;
11 +
12 return 1;
13 }
14
This page took 0.050575 seconds and 5 git commands to generate.