ChangeSet 1.2181.4.74, 2005/03/24 16:11:11-08:00, [EMAIL PROTECTED]
[PATCH] USB: fix harmful typos in zd1201.c
I was looking around to see why monitor mode wouldn't work using the
zd1201 driver, and spotted these obvious typos.
I think you can safely apply :)
Signed-off-by: Colin Leroy <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
zd1201.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/usb/net/zd1201.c b/drivers/usb/net/zd1201.c
--- a/drivers/usb/net/zd1201.c 2005-03-30 15:19:52 -08:00
+++ b/drivers/usb/net/zd1201.c 2005-03-30 15:19:52 -08:00
@@ -673,7 +673,7 @@
return 0;
err = zd1201_docmd(zd, ZD1201_CMDCODE_ENABLE, 0, 0, 0);
- if (!err);
+ if (!err)
zd->mac_enabled = 1;
if (zd->monitor)
@@ -690,7 +690,7 @@
return 0;
if (zd->monitor) {
err = zd1201_setconfig16(zd, ZD1201_RID_PROMISCUOUSMODE, 0);
- if (err);
+ if (err)
return err;
}
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html