aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-02-18 12:45:06 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:42 -0500
commit77965c970d7da9c9b6349ff2b1d9adecf54c403b (patch)
treebda8a85fa872a46d5cb5c48891cf3ee21c91e838 /net/wireless/nl80211.c
parent630e64c487c0a9550f05b465216a1cd9125b52f2 (diff)
cfg80211: clean up signal type
It wasn't a good idea to make the signal type a per-BSS option, although then it is closer to the actual value. Move it to be a per-wiphy setting, update mac80211 to match. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r--net/wireless/nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 245fddcc77c3..a7e751edc739 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -2457,7 +2457,7 @@ static int nl80211_send_bss(struct sk_buff *msg, u32 pid, u32 seq, int flags,
2457 NLA_PUT_U16(msg, NL80211_BSS_CAPABILITY, res->capability); 2457 NLA_PUT_U16(msg, NL80211_BSS_CAPABILITY, res->capability);
2458 NLA_PUT_U32(msg, NL80211_BSS_FREQUENCY, res->channel->center_freq); 2458 NLA_PUT_U32(msg, NL80211_BSS_FREQUENCY, res->channel->center_freq);
2459 2459
2460 switch (res->signal_type) { 2460 switch (rdev->wiphy.signal_type) {
2461 case CFG80211_SIGNAL_TYPE_MBM: 2461 case CFG80211_SIGNAL_TYPE_MBM:
2462 NLA_PUT_U32(msg, NL80211_BSS_SIGNAL_MBM, res->signal); 2462 NLA_PUT_U32(msg, NL80211_BSS_SIGNAL_MBM, res->signal);
2463 break; 2463 break;