+3
−4
+6
−0
+1
−30
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>