diff options
author | Ilan Peer <ilan.peer@intel.com> | 2013-02-03 01:28:27 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-11 12:44:45 -0500 |
commit | bba87ffe606b7fc5fba73d1c0c5ac1eacd2cebe8 (patch) | |
tree | d5e1bf181d1b43218d2a65b571ba1d1de55f12aa /net/wireless | |
parent | b7566fc363e23f0efd3fa1e1460f9421cdc0d77e (diff) |
cfg80211: fix radar check for P2P_DEVICE
Radar is not required for P2P_DEVICE interfaces.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c index d7873c7ae0ec..37a56ee1e1ed 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c | |||
@@ -1217,10 +1217,10 @@ int cfg80211_can_use_iftype_chan(struct cfg80211_registered_device *rdev, | |||
1217 | break; | 1217 | break; |
1218 | case NL80211_IFTYPE_P2P_CLIENT: | 1218 | case NL80211_IFTYPE_P2P_CLIENT: |
1219 | case NL80211_IFTYPE_STATION: | 1219 | case NL80211_IFTYPE_STATION: |
1220 | case NL80211_IFTYPE_P2P_DEVICE: | ||
1220 | case NL80211_IFTYPE_MONITOR: | 1221 | case NL80211_IFTYPE_MONITOR: |
1221 | radar_required = false; | 1222 | radar_required = false; |
1222 | break; | 1223 | break; |
1223 | case NL80211_IFTYPE_P2P_DEVICE: | ||
1224 | case NUM_NL80211_IFTYPES: | 1224 | case NUM_NL80211_IFTYPES: |
1225 | case NL80211_IFTYPE_UNSPECIFIED: | 1225 | case NL80211_IFTYPE_UNSPECIFIED: |
1226 | default: | 1226 | default: |