diff options
-rw-r--r-- | net/mac80211/mesh.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index 63427d983216..222a31338390 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c | |||
@@ -247,6 +247,13 @@ void mesh_mgmt_ies_add(struct sk_buff *skb, struct ieee80211_sub_if_data *sdata) | |||
247 | } | 247 | } |
248 | } | 248 | } |
249 | 249 | ||
250 | if (sband->band == IEEE80211_BAND_2GHZ) { | ||
251 | pos = skb_put(skb, 2 + 1); | ||
252 | *pos++ = WLAN_EID_DS_PARAMS; | ||
253 | *pos++ = 1; | ||
254 | *pos++ = ieee80211_frequency_to_channel(local->hw.conf.channel->center_freq); | ||
255 | } | ||
256 | |||
250 | pos = skb_put(skb, 2 + sdata->u.mesh.mesh_id_len); | 257 | pos = skb_put(skb, 2 + sdata->u.mesh.mesh_id_len); |
251 | *pos++ = WLAN_EID_MESH_ID; | 258 | *pos++ = WLAN_EID_MESH_ID; |
252 | *pos++ = sdata->u.mesh.mesh_id_len; | 259 | *pos++ = sdata->u.mesh.mesh_id_len; |