aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/wireless/ath/carl9170/debug.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2013-03-25 17:15:17 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-03-27 13:37:37 -0400
commit56771e5054463fd3ec2047ea4d4a26111ec7dbab (patch)
tree0a5bad361468da2311ee6ebc9ee08489f9eb2c70 /drivers/net/wireless/ath/carl9170/debug.c
parentmwl8k: always apply configuration even when device is idle (diff)
downloadwireguard-linux-56771e5054463fd3ec2047ea4d4a26111ec7dbab.tar.xz
wireguard-linux-56771e5054463fd3ec2047ea4d4a26111ec7dbab.zip
carl9170: remove fast channel change feature
Marco Fonseca reported a issue with his carl9170 device: "I'm seeing a problem with the carl driver. If I change channels repeatedly on the 2.4ghz band, monitoring (e.g. tcpdump) will eventually halt. I've seen this on various versions of the carl driver/firmware (both from 1.9.4 to 1.9.7)" <http://marc.info/?l=linux-wireless&m=136381302428113> The culprit was identified as "fast channel change feature" which according to Adrian Chadd is: "... notoriously unreliable and really only fully debugged on some very later chips." <http://marc.info/?l=linux-wireless&m=136416984531380> Therefore, this patch removes the fast channel change feature. The phy will now always have to go through a cold reset when changing channels, but it should no longer become deaf. Cc: Marco Fonseca <marco@tampabay.rr.com> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/debug.c')
-rw-r--r--drivers/net/wireless/ath/carl9170/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/debug.c b/drivers/net/wireless/ath/carl9170/debug.c
index 93fe6003a493..40109be81f7c 100644
--- a/drivers/net/wireless/ath/carl9170/debug.c
+++ b/drivers/net/wireless/ath/carl9170/debug.c
@@ -655,7 +655,7 @@ static ssize_t carl9170_debugfs_bug_write(struct ar9170 *ar, const char *buf,
case 'P':
err = carl9170_set_channel(ar, ar->hw->conf.channel,
- ar->hw->conf.channel_type, CARL9170_RFI_COLD);
+ ar->hw->conf.channel_type);
if (err < 0)
count = err;