[Stgt-devel] Brown paper bag fix...
Mark Harvey
markh794
Thu May 24 08:07:20 CEST 2007
What can I say.
I thought I'd tested/compiled before I posted the patches....
diff --git a/usr/mmc.c b/usr/mmc.c
index f148645..fa0971d 100644
--- a/usr/mmc.c
+++ b/usr/mmc.c
@@ -104,7 +104,7 @@ static int mmc_mode_sense(int host_no, struct scsi_cmd *cmd)
/* MMC devices do not support BLOCK DESCRIPTOR
* So make sure we have DISABLE BLOCK DESCRIPTOR bit set */
- sbc[1] | 8;
+ scb[1] |= 8;
return spc_mode_sense(host_no, cmd);
}
Cheers
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2x2.diff
Type: text/x-patch
Size: 363 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/stgt-devel/attachments/20070524/fc9285fb/attachment.bin
More information about the stgt
mailing list