]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Do not warn on same channel at the end of CSA
authorIlan Peer <ilan.peer@intel.com>
Thu, 26 Mar 2020 13:09:43 +0000 (15:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 08:49:59 +0000 (10:49 +0200)
commitd5853edda8496ab82ee6b8090873e2dc50aa175d
tree079fa99ad7a60e20ee2a4adec5b8f8a638a32e20
parent1417f7819404ed3fa17dce317e2db6b139d35271
cfg80211: Do not warn on same channel at the end of CSA

[ Upstream commit 28e9df36a9f016468687a70d62207235b9d58004 ]

When cfg80211_update_assoc_bss_entry() is called, there is a
verification that the BSS channel actually changed. As some APs use
CSA also for bandwidth changes, this would result with a kernel
warning.

Fix this by removing the WARN_ON().

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200326150855.96316ada0e8d.I6710376b1b4257e5f4712fc7ab16e2b638d512aa@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/wireless/scan.c