diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-02-14 20:08:43 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-02-15 10:59:08 +0100 |
commit | 414532d8aa8915d9aebd01c6b5aa54bdfd98da71 (patch) | |
tree | d36a8d789a8394ebcf85a5d7598280bb60539771 /include/net/cfg80211.h | |
parent | wifi: iwlwifi: cancel session protection only if there is one (diff) | |
download | linux-414532d8aa8915d9aebd01c6b5aa54bdfd98da71.tar.xz linux-414532d8aa8915d9aebd01c6b5aa54bdfd98da71.zip |
wifi: cfg80211: use IEEE80211_MAX_MESH_ID_LEN appropriately
Even if that's the same as IEEE80211_MAX_SSID_LEN, we really
should just use IEEE80211_MAX_MESH_ID_LEN for mesh, rather
than having the BUILD_BUG_ON()s.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 93e9abb7fc3d..57c2298af35b 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -6223,7 +6223,7 @@ struct wireless_dev { int beacon_interval; struct cfg80211_chan_def preset_chandef; struct cfg80211_chan_def chandef; - u8 id[IEEE80211_MAX_SSID_LEN]; + u8 id[IEEE80211_MAX_MESH_ID_LEN]; u8 id_len, id_up_len; } mesh; struct { |