diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-10-18 09:36:51 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-10-18 09:39:56 +0200 |
commit | e5f5ce37a7918ed7406c52987c7cc8b670ed5e14 (patch) | |
tree | 9388b69528c728e03a5cb5b749b372ebf24e4593 /net/mac80211/rc80211_minstrel_ht.h | |
parent | 51e13359cd5ea34acc62c90627603352956380af (diff) |
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: Ben Greear <greearb@candelatech.com>
Fixes: e8e4f5280ddd ("mac80211: reject/clear user rate mask if not usable")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_ht.h')
0 files changed, 0 insertions, 0 deletions