diff options
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r-- | net/mac80211/driver-ops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index 7d18a3245e3d..e5e7ef175ca2 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -349,9 +349,11 @@ static inline int drv_ampdu_action(struct ieee80211_local *local, | |||
349 | u16 *ssn) | 349 | u16 *ssn) |
350 | { | 350 | { |
351 | int ret = -EOPNOTSUPP; | 351 | int ret = -EOPNOTSUPP; |
352 | local_bh_disable(); | ||
352 | if (local->ops->ampdu_action) | 353 | if (local->ops->ampdu_action) |
353 | ret = local->ops->ampdu_action(&local->hw, &sdata->vif, action, | 354 | ret = local->ops->ampdu_action(&local->hw, &sdata->vif, action, |
354 | sta, tid, ssn); | 355 | sta, tid, ssn); |
356 | local_bh_enable(); | ||
355 | trace_drv_ampdu_action(local, sdata, action, sta, tid, ssn, ret); | 357 | trace_drv_ampdu_action(local, sdata, action, sta, tid, ssn, ret); |
356 | return ret; | 358 | return ret; |
357 | } | 359 | } |