firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
[openwrt.git] / package / mac80211 / patches / 320-pending_work.patch
index 44d8df2..38bf6fb 100644 (file)
        }
  
        /* add interfaces */
+--- a/drivers/net/wireless/ath/ath9k/xmit.c
++++ b/drivers/net/wireless/ath/ath9k/xmit.c
+@@ -1745,7 +1745,10 @@ int ath_tx_start(struct ieee80211_hw *hw
+       int frmlen = skb->len + FCS_LEN;
+       int q;
+-      txctl->an = (struct ath_node *)sta->drv_priv;
++      /* NOTE:  sta can be NULL according to net/mac80211.h */
++      if (sta)
++              txctl->an = (struct ath_node *)sta->drv_priv;
++
+       if (info->control.hw_key)
+               frmlen += info->control.hw_key->icv_len;
This page took 0.022724 seconds and 4 git commands to generate.