cfg80211: fix radar_detect combination checking
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 21 Mar 2014 13:52:15 +0000 (14:52 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Apr 2014 08:55:58 +0000 (10:55 +0200)
commit65d26f29ec018c863ae181c96c1dd91ed8c4b652
tree51036c3319dde4323c3110436e017482336e5e4d
parent5d52ee81101943c507f45c76368026935f6bb75a
cfg80211: fix radar_detect combination checking

All bits from radar_detect must match combination
radar bitmask. Otherwise it is theoretically
possible to lead into an invalid combination
provided a driver reports strange combinations.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c