diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2015-03-12 10:35:46 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-16 12:06:04 -0400 |
commit | 7daa54b747ddddf03737178f2473098a29d1b05c (patch) | |
tree | 6f4d55a1e513eec37cedb9cc6b90739a5380d5be | |
parent | 92d5e2456d39d8593bfb19429f2d83297836ad5c (diff) |
rt2x00usb: drop rt2x00usb_disable_radio() from rt2800usb_disable_radio()
I have here FRITZ!WLAN USB Stick N v2 / idVendor=057c, idProduct=8501
and every single of this requests ends up with:
|ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x0c failed for offset 0x0000 with error -32
I was browsing the the vedor code and I haven't seen such request so I
remove it with this patch. If I wasn't look enough or if this error is
expected then please excuse :)
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index e692e5fe4e01..9a2f44a54d94 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -378,7 +378,6 @@ static int rt2800usb_enable_radio(struct rt2x00_dev *rt2x00dev) | |||
378 | static void rt2800usb_disable_radio(struct rt2x00_dev *rt2x00dev) | 378 | static void rt2800usb_disable_radio(struct rt2x00_dev *rt2x00dev) |
379 | { | 379 | { |
380 | rt2800_disable_radio(rt2x00dev); | 380 | rt2800_disable_radio(rt2x00dev); |
381 | rt2x00usb_disable_radio(rt2x00dev); | ||
382 | } | 381 | } |
383 | 382 | ||
384 | static int rt2800usb_set_state(struct rt2x00_dev *rt2x00dev, | 383 | static int rt2800usb_set_state(struct rt2x00_dev *rt2x00dev, |