summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zd1201.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@suse.cz>2006-07-27 20:32:40 +0200
committerJohn W. Linville <linville@tuxdriver.com>2006-07-27 20:37:30 +0200
commitd91928e906e2866563a69506bb77ffebcf50613c (patch)
treebd80aa3605eb80de4cf5a9847dc3225c0eb3b483 /drivers/net/wireless/zd1201.c
parent[PATCH] fix compile regression for a few scsi drivers (diff)
downloadlinux-d91928e906e2866563a69506bb77ffebcf50613c.tar.xz
linux-d91928e906e2866563a69506bb77ffebcf50613c.zip
[PATCH] zd1201: workaround interference problem
zd1201 has nasty tendency to emit magicall anti-wifi cloud when it is inserted into slot, but not used. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/zd1201.c')
-rw-r--r--drivers/net/wireless/zd1201.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/zd1201.c b/drivers/net/wireless/zd1201.c
index 662ecc8a33ff..c52e9bcf8d02 100644
--- a/drivers/net/wireless/zd1201.c
+++ b/drivers/net/wireless/zd1201.c
@@ -1820,6 +1820,8 @@ static int zd1201_probe(struct usb_interface *interface,
zd->dev->name);
usb_set_intfdata(interface, zd);
+ zd1201_enable(zd); /* zd1201 likes to startup enabled, */
+ zd1201_disable(zd); /* interfering with all the wifis in range */
return 0;
err_net: