diff options
author | Thomas Pedersen <thomas@adapt-ip.com> | 2020-09-22 04:28:02 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-09-28 13:53:05 +0200 |
commit | 5e48077498918e9e42f689df5f14dbdc3f1b8cc2 (patch) | |
tree | 5402af282b2f4da8f379602dc532fbf6dbf31e67 /block/bsg-lib.c | |
parent | wireless: radiotap: fix some kernel-doc (diff) | |
download | linux-5e48077498918e9e42f689df5f14dbdc3f1b8cc2.tar.xz linux-5e48077498918e9e42f689df5f14dbdc3f1b8cc2.zip |
mac80211: get correct default channel width for S1G
When deleting a channel context, mac80211 would assing
NL80211_CHAN_WIDTH_20_NOHT as the default channel width.
This is wrong in S1G however, so instead get the allowed
channel width for a given channel.
Fixes eg. configuring strange (20Mhz) width during a scan
on the S1G band.
Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200922022818.15855-2-thomas@adapt-ip.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions