summaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-02-24 10:52:19 +0100
committerJohannes Berg <johannes.berg@intel.com>2023-03-10 11:47:00 +0100
commitce04abc3fcc62cd5640af981ebfd7c4dc3bded28 (patch)
tree103567c17daaa8d4b7dfb3d7f18ca01076ac582b /net/wireless/nl80211.c
parentb27f07c50a73e34eefb6b1030b235192b7ded850 (diff)
downloadlinux-stable-ce04abc3fcc62cd5640af981ebfd7c4dc3bded28.tar.gz
linux-stable-ce04abc3fcc62cd5640af981ebfd7c4dc3bded28.tar.bz2
linux-stable-ce04abc3fcc62cd5640af981ebfd7c4dc3bded28.zip
wifi: mac80211: check basic rates validity
When userspace sets basic rates, it might send us some rates list that's empty or consists of invalid values only. We're currently ignoring invalid values and then may end up with a rates bitmap that's empty, which later results in a warning. Reject the call if there were no valid rates. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions