aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-09-02 17:18:09 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-02 17:18:09 -0400
commit3f968de276a8e585deb182d4ba56013a479c80bc (patch)
treebff8932bb5e64c22708aad48a6edbef3a707a774 /net
parent5ca1b998d33c39819fca2b675d80c4469e705f2d (diff)
parentd0bec34293bb0b8dddc26d25bd46a6631d6b3ec3 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/Kconfig5
-rw-r--r--net/wireless/Kconfig4
-rw-r--r--net/wireless/scan.c2
3 files changed, 7 insertions, 4 deletions
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 9db4ff836a3d..4d5543af3123 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -13,8 +13,7 @@ config MAC80211
13comment "CFG80211 needs to be enabled for MAC80211" 13comment "CFG80211 needs to be enabled for MAC80211"
14 depends on CFG80211=n 14 depends on CFG80211=n
15 15
16menu "Rate control algorithm selection" 16if MAC80211 != n
17 depends on MAC80211 != n
18 17
19config MAC80211_RC_PID 18config MAC80211_RC_PID
20 bool "PID controller based rate control algorithm" if EMBEDDED 19 bool "PID controller based rate control algorithm" if EMBEDDED
@@ -61,7 +60,7 @@ config MAC80211_RC_DEFAULT
61 default "pid" if MAC80211_RC_DEFAULT_PID 60 default "pid" if MAC80211_RC_DEFAULT_PID
62 default "" 61 default ""
63 62
64endmenu 63endif
65 64
66config MAC80211_MESH 65config MAC80211_MESH
67 bool "Enable mac80211 mesh networking (pre-802.11s) support" 66 bool "Enable mac80211 mesh networking (pre-802.11s) support"
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
index aea7e6824af9..68c504fab122 100644
--- a/net/wireless/Kconfig
+++ b/net/wireless/Kconfig
@@ -40,6 +40,10 @@ config CFG80211_REG_DEBUG
40 default n 40 default n
41 ---help--- 41 ---help---
42 You can enable this if you want to debug regulatory changes. 42 You can enable this if you want to debug regulatory changes.
43 For more information on cfg80211 regulatory refer to the wireless
44 wiki:
45
46 http://wireless.kernel.org/en/developers/Regulatory
43 47
44 If unsure, say N. 48 If unsure, say N.
45 49
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index 7043de6221ab..19c5a9a8d085 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -141,7 +141,7 @@ void cfg80211_bss_expire(struct cfg80211_registered_device *dev)
141 dev->bss_generation++; 141 dev->bss_generation++;
142} 142}
143 143
144static u8 *find_ie(u8 num, u8 *ies, size_t len) 144static u8 *find_ie(u8 num, u8 *ies, int len)
145{ 145{
146 while (len > 2 && ies[0] != num) { 146 while (len > 2 && ies[0] != num) {
147 len -= ies[1] + 2; 147 len -= ies[1] + 2;