diff options
Diffstat (limited to 'net/wireless/wext-compat.c')
-rw-r--r-- | net/wireless/wext-compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext-compat.c b/net/wireless/wext-compat.c index 17648dc79867..c44917492210 100644 --- a/net/wireless/wext-compat.c +++ b/net/wireless/wext-compat.c | |||
@@ -766,7 +766,7 @@ int cfg80211_wext_siwfreq(struct net_device *dev, | |||
766 | if (freq == 0) | 766 | if (freq == 0) |
767 | return -EINVAL; | 767 | return -EINVAL; |
768 | mutex_lock(&rdev->devlist_mtx); | 768 | mutex_lock(&rdev->devlist_mtx); |
769 | err = rdev_set_freq(rdev, freq, NL80211_CHAN_NO_HT); | 769 | err = rdev_set_freq(rdev, NULL, freq, NL80211_CHAN_NO_HT); |
770 | mutex_unlock(&rdev->devlist_mtx); | 770 | mutex_unlock(&rdev->devlist_mtx); |
771 | return err; | 771 | return err; |
772 | } | 772 | } |