diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-27 06:01:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-29 15:46:14 -0400 |
commit | 0e82ffe3b90bcad72cfe80e4379946b8fb0691ca (patch) | |
tree | c6b73524d4db86ddcaa866d7ea81a9600b610413 /net/wireless/nl80211.c | |
parent | a7bc376c858e0e724b8cb2db09b6874562d377ca (diff) |
cfg80211: combine iwfreq implementations
Until now we implemented iwfreq for managed mode, we
needed to keep the implementations separate, but now
that we have all versions implemented we can combine
them and export just one handler.
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index c951eb2b07d5..0cd548267d4a 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -757,6 +757,8 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info) | |||
757 | channel_type); | 757 | channel_type); |
758 | if (result) | 758 | if (result) |
759 | goto bad_res; | 759 | goto bad_res; |
760 | |||
761 | rdev->channel = chan; | ||
760 | } | 762 | } |
761 | 763 | ||
762 | changed = 0; | 764 | changed = 0; |