diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 6bbd6cccb4a0..ab033fd00b72 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -2333,9 +2333,9 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw, | |||
2333 | } else { | 2333 | } else { |
2334 | unsigned long flags; | 2334 | unsigned long flags; |
2335 | 2335 | ||
2336 | spin_lock_irqsave(&local->sta_lock, flags); | 2336 | spin_lock_irqsave(&local->tim_lock, flags); |
2337 | ieee80211_beacon_add_tim(ap, skb, beacon); | 2337 | ieee80211_beacon_add_tim(ap, skb, beacon); |
2338 | spin_unlock_irqrestore(&local->sta_lock, flags); | 2338 | spin_unlock_irqrestore(&local->tim_lock, flags); |
2339 | } | 2339 | } |
2340 | 2340 | ||
2341 | if (tim_offset) | 2341 | if (tim_offset) |