]> git.karo-electronics.de Git - linux-beck.git/commit
cfg80211: remove radar requirements check from cfg80211_can_use_iftype_chan()
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 20 Feb 2014 14:36:21 +0000 (16:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 21 Feb 2014 08:33:10 +0000 (09:33 +0100)
commit7b2106aea2638948806df248215b14efd84c5ffc
tree8babafa0ad2b8ea1e1cde737e474e82f7c35f91b
parente5d2f954714bccd4a87e042720ae8e85f9a0aada
cfg80211: remove radar requirements check from cfg80211_can_use_iftype_chan()

We don't have to double check whether the parameters passed to
cfg80211_can_use_iftype_chan() are correct.  We should just make sure
they *are* when we call this function.

Remove the radar_detect argument check in
cfg80211_can_use_iftype_chan() to simplify the code.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
[keep braces around a long comment + single statement]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/ibss.c
net/wireless/mesh.c
net/wireless/util.c