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

mac80211: validate user rate mask before configuring driver



Ben reported that when the user rate mask is rejected for not
matching any basic rate, the driver had already been configured.
This is clearly an oversight in my original change, fix this by
doing the validation before calling the driver.

Reported-by: default avatarBen Greear <greearb@candelatech.com>
Fixes: e8e4f528 ("mac80211: reject/clear user rate mask if not usable")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 51e13359
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