diff options
Diffstat (limited to 'drivers/net/wireless/ath/carl9170')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c index a8b0cec78b32..84bd38e9961c 100644 --- a/drivers/net/wireless/ath/carl9170/main.c +++ b/drivers/net/wireless/ath/carl9170/main.c | |||
@@ -1248,7 +1248,7 @@ static int carl9170_op_ampdu_action(struct ieee80211_hw *hw, | |||
1248 | 1248 | ||
1249 | switch (action) { | 1249 | switch (action) { |
1250 | case IEEE80211_AMPDU_TX_START: | 1250 | case IEEE80211_AMPDU_TX_START: |
1251 | if (WARN_ON_ONCE(!sta_info->ht_sta)) | 1251 | if (!sta_info->ht_sta) |
1252 | return -EOPNOTSUPP; | 1252 | return -EOPNOTSUPP; |
1253 | 1253 | ||
1254 | rcu_read_lock(); | 1254 | rcu_read_lock(); |