linux/net/wireless
Johannes Berg 60a6d29997 nl80211: fix non-split wiphy information
[ Upstream commit ab10c22bc3 ]

When dumping wiphy information, we try to split the data into
many submessages, but for old userspace we still support the
old mode where this doesn't happen.

However, in this case we were not resetting our state correctly
and dumping multiple messages for each wiphy, which would have
broken such older userspace.

This was broken pretty much immediately afterwards because it
only worked in the original commit where non-split dumps didn't
have any more data than split dumps...

Fixes: fe1abafd94 ("nl80211: re-add channel width and extended capa advertising")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200928130717.3e6d9c6bada2.Ie0f151a8d0d00a8e1e18f6a8c9244dd02496af67@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:55:13 +01:00
..
certs
.gitignore
ap.c cfg80211: call disconnect_wk when AP stops 2019-12-01 09:17:34 +01:00
chan.c
core.c {nl,mac}80211: fix interface combinations on crypto controlled devices 2019-09-16 08:21:42 +02:00
core.h cfg80211: call disconnect_wk when AP stops 2019-12-01 09:17:34 +01:00
debugfs.c
debugfs.h
ethtool.c cfg80211: check wiphy driver existence for drvinfo report 2020-03-05 16:42:13 +01:00
ibss.c
Kconfig
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
lib80211.c
Makefile wireless: Skip directory when generating certificates 2019-11-10 11:27:54 +01:00
mesh.c
mlme.c
nl80211.c nl80211: fix non-split wiphy information 2020-10-29 09:55:13 +01:00
nl80211.h
ocb.c
of.c
radiotap.c
rdev-ops.h cfg80211: Fix radar event during another phy CAC 2020-02-05 14:43:46 +00:00
reg.c cfg80211: regulatory: reject invalid hints 2020-09-09 19:04:32 +02:00
reg.h
scan.c cfg80211: add and use strongly typed element iteration macros 2019-10-11 18:21:42 +02:00
sme.c cfg80211: fix deadlocks in autodisconnect work 2020-01-23 08:21:33 +01:00
sysfs.c
sysfs.h
trace.c
trace.h cfg80211: Fix radar event during another phy CAC 2020-02-05 14:43:46 +00:00
util.c cfg80211: fix page refcount issue in A-MSDU decap 2020-01-23 08:21:33 +01:00
wext-compat.c cfg80211: initialize on-stack chandefs 2019-10-11 18:21:09 +02:00
wext-compat.h
wext-core.c wireless: wext: avoid gcc -O3 warning 2020-02-05 14:43:46 +00:00
wext-priv.c
wext-proc.c
wext-sme.c cfg80211: wext: avoid copying malformed SSIDs 2019-10-29 09:19:52 +01:00
wext-spy.c