summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch')
-rw-r--r--package/mac80211/patches/302-mac80211_pwr_mgmt_fix.patch6
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 628fc1d20d..30a91840eb 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;