summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r--net/mac80211/mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index 861697f2d75b..a550c707cd8a 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -1265,7 +1265,7 @@ static int mesh_fwd_csa_frame(struct ieee80211_sub_if_data *sdata,
1265 if (!skb) 1265 if (!skb)
1266 return -ENOMEM; 1266 return -ENOMEM;
1267 skb_reserve(skb, local->tx_headroom); 1267 skb_reserve(skb, local->tx_headroom);
1268 mgmt_fwd = (struct ieee80211_mgmt *) skb_put(skb, len); 1268 mgmt_fwd = skb_put(skb, len);
1269 1269
1270 /* offset_ttl is based on whether the secondary channel 1270 /* offset_ttl is based on whether the secondary channel
1271 * offset is available or not. Subtract 1 from the mesh TTL 1271 * offset is available or not. Subtract 1 from the mesh TTL