diff options
Diffstat (limited to 'net/wireless/wext-sme.c')
| -rw-r--r-- | net/wireless/wext-sme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/wext-sme.c b/net/wireless/wext-sme.c index 5615a8802536..9818198add8a 100644 --- a/net/wireless/wext-sme.c +++ b/net/wireless/wext-sme.c | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | 7 | ||
| 8 | #include <linux/etherdevice.h> | 8 | #include <linux/etherdevice.h> |
| 9 | #include <linux/if_arp.h> | 9 | #include <linux/if_arp.h> |
| 10 | #include <linux/slab.h> | ||
| 10 | #include <net/cfg80211.h> | 11 | #include <net/cfg80211.h> |
| 11 | #include "wext-compat.h" | 12 | #include "wext-compat.h" |
| 12 | #include "nl80211.h" | 13 | #include "nl80211.h" |
| @@ -107,7 +108,7 @@ int cfg80211_mgd_wext_siwfreq(struct net_device *dev, | |||
| 107 | 108 | ||
| 108 | /* SSID is not set, we just want to switch channel */ | 109 | /* SSID is not set, we just want to switch channel */ |
| 109 | if (chan && !wdev->wext.connect.ssid_len) { | 110 | if (chan && !wdev->wext.connect.ssid_len) { |
| 110 | err = rdev_set_freq(rdev, wdev, freq, NL80211_CHAN_NO_HT); | 111 | err = cfg80211_set_freq(rdev, wdev, freq, NL80211_CHAN_NO_HT); |
| 111 | goto out; | 112 | goto out; |
| 112 | } | 113 | } |
| 113 | 114 | ||
