diff options
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index d633edbd9796..da36dbf8d871 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -1892,9 +1892,9 @@ mwl8k_txq_xmit(struct ieee80211_hw *hw, int index, struct sk_buff *skb) | |||
1892 | 1892 | ||
1893 | txpriority = index; | 1893 | txpriority = index; |
1894 | 1894 | ||
1895 | if (ieee80211_is_data_qos(wh->frame_control) && | 1895 | if (priv->ap_fw && sta && sta->ht_cap.ht_supported |
1896 | skb->protocol != cpu_to_be16(ETH_P_PAE) && | 1896 | && skb->protocol != cpu_to_be16(ETH_P_PAE) |
1897 | sta->ht_cap.ht_supported && priv->ap_fw) { | 1897 | && ieee80211_is_data_qos(wh->frame_control)) { |
1898 | tid = qos & 0xf; | 1898 | tid = qos & 0xf; |
1899 | mwl8k_tx_count_packet(sta, tid); | 1899 | mwl8k_tx_count_packet(sta, tid); |
1900 | spin_lock(&priv->stream_lock); | 1900 | spin_lock(&priv->stream_lock); |