]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite313566f6b78bd5d1d5e0799ed43eabaed71aa11
tree51036c3319dde4323c3110436e017482336e5e4d
parent76b4f37eea2fbb9afa273a34903eee4113f5834a
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