diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-17 01:38:07 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-17 01:38:07 +0000 |
commit | 9e219ca63654c28f0f63378a4f176fb8da6d5b5e (patch) | |
tree | f229079fb188e5c3e9fda0d76225a9ca5ea5e74f /package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch | |
parent | 682557cca159feecf97ec8cfa025954b4f56b5a0 (diff) |
mac80211: upgrade to compat-wireless 2010-01-15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19176 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch')
-rw-r--r-- | package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch b/package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch index 628fc1d20..30a91840e 100644 --- a/package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch +++ b/package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch @@ -1,8 +1,8 @@ --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c -@@ -1384,6 +1384,9 @@ static int ieee80211_set_power_mgmt(stru - struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr); - struct ieee80211_conf *conf = &local->hw.conf; +@@ -1394,6 +1394,9 @@ static int ieee80211_set_power_mgmt(stru + if (sdata->vif.type != NL80211_IFTYPE_STATION) + return -EOPNOTSUPP; + if (sdata->vif.type != NL80211_IFTYPE_STATION) + return 0; |