mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
64821324ca
commit
d91928e906
|
@ -1820,6 +1820,8 @@ static int zd1201_probe(struct usb_interface *interface,
|
||||||
zd->dev->name);
|
zd->dev->name);
|
||||||
|
|
||||||
usb_set_intfdata(interface, zd);
|
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;
|
return 0;
|
||||||
|
|
||||||
err_net:
|
err_net:
|
||||||
|
|
Loading…
Reference in New Issue