iwlwifi: mvm: improve log when processing CSA
authorGregory Greenman <gregory.greenman@intel.com>
Sun, 17 Oct 2021 13:59:50 +0000 (16:59 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 22 Oct 2021 07:49:04 +0000 (10:49 +0300)
commitc3eae059fcab3f10c1204d2b297172d734a34ba6
treef93c5df2bb6b6a4c8108997c07fda11141e44a5c
parent8b75858c2e218570a61bb7ee21b17bdd19c49485
iwlwifi: mvm: improve log when processing CSA

Sometimes driver fails to detect misbehaving AP since we may
miss a few beacons (AP is declared misbehaving only after the second
time CSA counter has a wrong jump).
Move the print to the start of the function to avoid doubts when
analysing this kind of issues.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211017165728.8e6b1eb8a436.I5fd6caee968007e91d03b93d6ea84b670ce047e9@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c