]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/mac80211/offchannel.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
[karo-tx-linux.git] / net / mac80211 / offchannel.c
index 3d414411a96e212ee7fc25247373b86d1d382072..ebd8cccac8f277184b14d0b990c80e6ef4b04d93 100644 (file)
@@ -212,8 +212,6 @@ static void ieee80211_hw_roc_start(struct work_struct *work)
                return;
        }
 
-       ieee80211_recalc_idle(local);
-
        if (local->hw_roc_skb) {
                sdata = IEEE80211_DEV_TO_SUB_IF(local->hw_roc_dev);
                ieee80211_tx_skb(sdata, local->hw_roc_skb);
@@ -227,6 +225,8 @@ static void ieee80211_hw_roc_start(struct work_struct *work)
                                          GFP_KERNEL);
        }
 
+       ieee80211_recalc_idle(local);
+
        mutex_unlock(&local->mtx);
 }