projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74025f
)
mac80211: improve AP disconnect message
author
Johannes Berg
<johannes.berg@intel.com>
Fri, 18 Jun 2021 10:41:47 +0000
(13:41 +0300)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 23 Jun 2021 09:29:14 +0000
(11:29 +0200)
If the AP changes capability/bandwidth in some fashion, the
message might be somewhat misleading and we don't know what
really changed. Modify the message to speak about "caps/bw"
instead of just "bandwidth", and print out the flags.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link:
https://lore.kernel.org/r/iwlwifi.20210618133832.dc22c48985fa.I4bf5fbc17ec783c21d4b50c8c35b1de390896ccd@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c
patch
|
blob
|
history
diff --git
a/net/mac80211/mlme.c
b/net/mac80211/mlme.c
index 5e9f79beb8f30c86db03ec71dead3b88d8f90439..6a599077e36229353da5c91edcdff1291508d3d8 100644
(file)
--- a/
net/mac80211/mlme.c
+++ b/
net/mac80211/mlme.c
@@
-444,8
+444,8
@@
static int ieee80211_config_bw(struct ieee80211_sub_if_data *sdata,
IEEE80211_STA_DISABLE_160MHZ)) ||
!cfg80211_chandef_valid(&chandef)) {
sdata_info(sdata,
- "AP %pM changed
bandwidth in a way we can't support
- disconnect\n",
- ifmgd->bssid);
+ "AP %pM changed
caps/bw in a way we can't support (0x%x/0x%x)
- disconnect\n",
+ ifmgd->bssid
, flags, ifmgd->flags
);
return -EINVAL;
}