diff options
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 291516807fc4..38e593939727 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -2245,7 +2245,7 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw, | |||
2245 | if (sdata->vif.type == NL80211_IFTYPE_AP) { | 2245 | if (sdata->vif.type == NL80211_IFTYPE_AP) { |
2246 | ap = &sdata->u.ap; | 2246 | ap = &sdata->u.ap; |
2247 | beacon = rcu_dereference(ap->beacon); | 2247 | beacon = rcu_dereference(ap->beacon); |
2248 | if (ap && beacon) { | 2248 | if (beacon) { |
2249 | /* | 2249 | /* |
2250 | * headroom, head length, | 2250 | * headroom, head length, |
2251 | * tail length and maximum TIM length | 2251 | * tail length and maximum TIM length |