summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-09-28 13:07:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-29 10:07:48 +0100
commit0ff11535a204361b7214a9af306d527b32a91fd4 (patch)
tree1693fd5888167f94093b1bfd1a23d97d7176da5f /drivers/usb
parentcff51e84cb83d7323329c20c2532965ad3e08946 (diff)
nl80211: fix non-split wiphy information
[ Upstream commit ab10c22bc3b2024f0c9eafa463899a071eac8d97 ] 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: fe1abafd942f ("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>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions