mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
This commit is contained in:
commit
d3bd1b4c89
12 changed files with 129 additions and 86 deletions
|
|
@ -802,11 +802,11 @@ int cfg80211_wext_siwfreq(struct net_device *dev,
|
|||
return freq;
|
||||
if (freq == 0)
|
||||
return -EINVAL;
|
||||
wdev_lock(wdev);
|
||||
mutex_lock(&rdev->devlist_mtx);
|
||||
wdev_lock(wdev);
|
||||
err = cfg80211_set_freq(rdev, wdev, freq, NL80211_CHAN_NO_HT);
|
||||
mutex_unlock(&rdev->devlist_mtx);
|
||||
wdev_unlock(wdev);
|
||||
mutex_unlock(&rdev->devlist_mtx);
|
||||
return err;
|
||||
default:
|
||||
return -EOPNOTSUPP;
|
||||
|
|
|
|||
Loading…
Reference in a new issue