Skip to content

Commit

Permalink
carl9170: fix WARN_ON triggered by Broadcom HT STAs
Browse files Browse the repository at this point in the history
Broadcom's Windows driver for the 4313 advertises
an ampdu density of 7 => 16 us. The AR9170 MAC on
the other hand only supports densities up to 8 us.

This patch removes the noisy WARN_ON, because
there is nothing we can do about it.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Sep 28, 2010
1 parent cb139ec commit 9c655c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/carl9170/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ static int carl9170_op_ampdu_action(struct ieee80211_hw *hw,

switch (action) {
case IEEE80211_AMPDU_TX_START:
if (WARN_ON_ONCE(!sta_info->ht_sta))
if (!sta_info->ht_sta)
return -EOPNOTSUPP;

rcu_read_lock();
Expand Down

0 comments on commit 9c655c8

Please sign in to comment.