aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 6fad8fac3784..5a75fc020807 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -2265,10 +2265,10 @@ static void ieee80211_beacon_add_tim(struct ieee80211_if_ap *bss,
2265 /* Bitmap control */ 2265 /* Bitmap control */
2266 *pos++ = n1 | aid0; 2266 *pos++ = n1 | aid0;
2267 /* Part Virt Bitmap */ 2267 /* Part Virt Bitmap */
2268 skb_put(skb, n2 - n1);
2268 memcpy(pos, bss->tim + n1, n2 - n1 + 1); 2269 memcpy(pos, bss->tim + n1, n2 - n1 + 1);
2269 2270
2270 tim[1] = n2 - n1 + 4; 2271 tim[1] = n2 - n1 + 4;
2271 skb_put(skb, n2 - n1);
2272 } else { 2272 } else {
2273 *pos++ = aid0; /* Bitmap control */ 2273 *pos++ = aid0; /* Bitmap control */
2274 *pos++ = 0; /* Part Virt Bitmap */ 2274 *pos++ = 0; /* Part Virt Bitmap */