git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cfg80211: Add AP beacon regulatory hints
[safe/jmp/linux-2.6]
/
net
/
wireless
/
scan.c
diff --git
a/net/wireless/scan.c
b/net/wireless/scan.c
index
6060065
..
280dbcd
100644
(file)
--- a/
net/wireless/scan.c
+++ b/
net/wireless/scan.c
@@
-430,6
+430,9
@@
cfg80211_inform_bss_frame(struct wiphy *wiphy,
if (!res)
return NULL;
+ if (res->pub.capability & WLAN_CAPABILITY_ESS)
+ regulatory_hint_found_beacon(wiphy, channel, gfp);
+
/* cfg80211_bss_update gives us a referenced result */
return &res->pub;
}