]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/mac80211/driver-ops.h
Merge tag 'mac80211-next-for-davem-2019-04-26' of git://git.kernel.org/pub/scm/linux...
[linux.git] / net / mac80211 / driver-ops.h
index 28d022a3eee305bc9d04531eb6b70d3b57412d93..c2d8b5451a5ec6c52245ed306d5e0d4e607b3c67 100644 (file)
@@ -529,6 +529,11 @@ int drv_sta_state(struct ieee80211_local *local,
                  enum ieee80211_sta_state old_state,
                  enum ieee80211_sta_state new_state);
 
+__must_check
+int drv_sta_set_txpwr(struct ieee80211_local *local,
+                     struct ieee80211_sub_if_data *sdata,
+                     struct sta_info *sta);
+
 void drv_sta_rc_update(struct ieee80211_local *local,
                       struct ieee80211_sub_if_data *sdata,
                       struct ieee80211_sta *sta, u32 changed);
@@ -1195,6 +1200,9 @@ static inline void drv_wake_tx_queue(struct ieee80211_local *local,
 {
        struct ieee80211_sub_if_data *sdata = vif_to_sdata(txq->txq.vif);
 
+       if (local->in_reconfig)
+               return;
+
        if (!check_sdata_in_driver(sdata))
                return;