OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7566fc
)
cfg80211: fix radar check for P2P_DEVICE
author
Ilan Peer
<ilan.peer@intel.com>
Sun, 3 Feb 2013 06:28:27 +0000
(08:28 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 11 Feb 2013 17:44:45 +0000
(18:44 +0100)
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>
net/wireless/util.c
patch
|
blob
|
history
diff --git
a/net/wireless/util.c
b/net/wireless/util.c
index
d7873c7
..
37a56ee
100644
(file)
--- 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,
break;
case NL80211_IFTYPE_P2P_CLIENT:
case NL80211_IFTYPE_STATION:
+ case NL80211_IFTYPE_P2P_DEVICE:
case NL80211_IFTYPE_MONITOR:
radar_required = false;
break;
- case NL80211_IFTYPE_P2P_DEVICE:
case NUM_NL80211_IFTYPES:
case NL80211_IFTYPE_UNSPECIFIED:
default: