summaryrefslogtreecommitdiff
path: root/scripts/Makefile.package
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-03-25 09:05:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-01 11:02:01 +0200
commit4a89bb3fca20232339fefcf126140df859259ca0 (patch)
treefefdb13efc5d0b9f59ff4e1cf831fddd24d882be /scripts/Makefile.package
parentb34e20c78f1c3c14f40438cd042f9b8547ef292e (diff)
nl80211: fix NL80211_ATTR_CHANNEL_WIDTH attribute type
commit 0016d3201753b59f3ae84b868fe66c86ad256f19 upstream. The new opmode notification used this attribute with a u8, when it's documented as a u32 and indeed used in userspace as such, it just happens to work on little-endian systems since userspace isn't doing any strict size validation, and the u8 goes into the lower byte. Fix this. Cc: stable@vger.kernel.org Fixes: 466b9936bf93 ("cfg80211: Add support to notify station's opmode change to userspace") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Link: https://lore.kernel.org/r/20200325090531.be124f0a11c7.Iedbf4e197a85471ebd729b186d5365c0343bf7a8@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.package')
0 files changed, 0 insertions, 0 deletions