diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-08-29 12:17:43 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-13 11:10:50 +0200 |
commit | 5add321c329b1746589b51359259666ca3dbe219 (patch) | |
tree | 7576e4e3775f1fb43e8d20a2456b7eb95d47e532 /net/wireless/nl80211.c | |
parent | wifi: wext: avoid extra calls to strlen() in ieee80211_bss() (diff) | |
download | linux-5add321c329b1746589b51359259666ca3dbe219.tar.xz linux-5add321c329b1746589b51359259666ca3dbe219.zip |
wifi: cfg80211: remove scan_width support
There really isn't any support for scanning at different
channel widths than 20 MHz since there's no way to set it.
Remove this support for now, if somebody wants to maintain
this whole thing later we can revisit how it should work.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index ab0aea7dca7d..f2dd4c85a10f 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -10283,7 +10283,6 @@ static int nl80211_send_bss(struct sk_buff *msg, struct netlink_callback *cb, nla_put_u32(msg, NL80211_BSS_FREQUENCY, res->channel->center_freq) || nla_put_u32(msg, NL80211_BSS_FREQUENCY_OFFSET, res->channel->freq_offset) || - nla_put_u32(msg, NL80211_BSS_CHAN_WIDTH, res->scan_width) || nla_put_u32(msg, NL80211_BSS_SEEN_MS_AGO, jiffies_to_msecs(jiffies - intbss->ts))) goto nla_put_failure; |