mac80211: change RX aggregation locking
[deliverable/linux.git] / net / mac80211 / driver-ops.h
index 7d18a3245e3d8475cb045d52977827d00649bc9a..e5e7ef175ca235efe069251e7d346df57a3b98ef 100644 (file)
@@ -349,9 +349,11 @@ static inline int drv_ampdu_action(struct ieee80211_local *local,
                                   u16 *ssn)
 {
        int ret = -EOPNOTSUPP;
+       local_bh_disable();
        if (local->ops->ampdu_action)
                ret = local->ops->ampdu_action(&local->hw, &sdata->vif, action,
                                               sta, tid, ssn);
+       local_bh_enable();
        trace_drv_ampdu_action(local, sdata, action, sta, tid, ssn, ret);
        return ret;
 }
This page took 0.029279 seconds and 5 git commands to generate.