diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-02-20 16:36:21 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-21 09:33:10 +0100 |
commit | 7b2106aea2638948806df248215b14efd84c5ffc (patch) | |
tree | 8babafa0ad2b8ea1e1cde737e474e82f7c35f91b /net/mac80211/ibss.c | |
parent | e5d2f954714bccd4a87e042720ae8e85f9a0aada (diff) | |
download | op-kernel-dev-7b2106aea2638948806df248215b14efd84c5ffc.zip op-kernel-dev-7b2106aea2638948806df248215b14efd84c5ffc.tar.gz |
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>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions