summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorKarthikeyan Kathirvel <kathirve@codeaurora.org>2021-03-11 08:29:07 +0300
committerJohannes Berg <johannes.berg@intel.com>2021-03-16 23:20:47 +0300
commit041c881a0ba8a75f71118bd9766b78f04beed469 (patch)
treedeaabc9c937c2c5a6c49ce5ca0c445e63a6bfd22 /net/wireless
parent77cbf790e5b482256662e14c8b6ef4fecb07d06d (diff)
downloadlinux-041c881a0ba8a75f71118bd9766b78f04beed469.tar.xz
mac80211: choose first enabled channel for monitor
Even if the first channel from sband channel list is invalid or disabled mac80211 ends up choosing it as the default channel for monitor interfaces, making them not usable. Fix this by assigning the first available valid or enabled channel instead. Signed-off-by: Karthikeyan Kathirvel <kathirve@codeaurora.org> Link: https://lore.kernel.org/r/1615440547-7661-1-git-send-email-kathirve@codeaurora.org [reword commit message, comment, code cleanups] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions