Skip to content
Commit ce04abc3 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent b27f07c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment