diff options
-rw-r--r-- | include/net/mac80211.h | 10 | ||||
-rw-r--r-- | net/mac80211/wext.c | 3 |
2 files changed, 5 insertions, 8 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index d9686917252b..183956e4930a 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -532,8 +532,7 @@ enum ieee80211_conf_flags { | |||
532 | * @IEEE80211_CONF_CHANGE_BEACON_INTERVAL: the beacon interval changed | 532 | * @IEEE80211_CONF_CHANGE_BEACON_INTERVAL: the beacon interval changed |
533 | * @IEEE80211_CONF_CHANGE_LISTEN_INTERVAL: the listen interval changed | 533 | * @IEEE80211_CONF_CHANGE_LISTEN_INTERVAL: the listen interval changed |
534 | * @IEEE80211_CONF_CHANGE_RADIOTAP: the radiotap flag changed | 534 | * @IEEE80211_CONF_CHANGE_RADIOTAP: the radiotap flag changed |
535 | * @IEEE80211_CONF_CHANGE_PS: the PS flag changed | 535 | * @IEEE80211_CONF_CHANGE_PS: the PS flag or dynamic PS timeout changed |
536 | * @IEEE80211_CONF_CHANGE_DYNPS_TIMEOUT: the dynamic PS timeout changed | ||
537 | * @IEEE80211_CONF_CHANGE_POWER: the TX power changed | 536 | * @IEEE80211_CONF_CHANGE_POWER: the TX power changed |
538 | * @IEEE80211_CONF_CHANGE_CHANNEL: the channel/channel_type changed | 537 | * @IEEE80211_CONF_CHANGE_CHANNEL: the channel/channel_type changed |
539 | * @IEEE80211_CONF_CHANGE_RETRY_LIMITS: retry limits changed | 538 | * @IEEE80211_CONF_CHANGE_RETRY_LIMITS: retry limits changed |
@@ -544,10 +543,9 @@ enum ieee80211_conf_changed { | |||
544 | IEEE80211_CONF_CHANGE_LISTEN_INTERVAL = BIT(2), | 543 | IEEE80211_CONF_CHANGE_LISTEN_INTERVAL = BIT(2), |
545 | IEEE80211_CONF_CHANGE_RADIOTAP = BIT(3), | 544 | IEEE80211_CONF_CHANGE_RADIOTAP = BIT(3), |
546 | IEEE80211_CONF_CHANGE_PS = BIT(4), | 545 | IEEE80211_CONF_CHANGE_PS = BIT(4), |
547 | IEEE80211_CONF_CHANGE_DYNPS_TIMEOUT = BIT(5), | 546 | IEEE80211_CONF_CHANGE_POWER = BIT(5), |
548 | IEEE80211_CONF_CHANGE_POWER = BIT(6), | 547 | IEEE80211_CONF_CHANGE_CHANNEL = BIT(6), |
549 | IEEE80211_CONF_CHANGE_CHANNEL = BIT(7), | 548 | IEEE80211_CONF_CHANGE_RETRY_LIMITS = BIT(7), |
550 | IEEE80211_CONF_CHANGE_RETRY_LIMITS = BIT(8), | ||
551 | }; | 549 | }; |
552 | 550 | ||
553 | /** | 551 | /** |
diff --git a/net/mac80211/wext.c b/net/mac80211/wext.c index 1eb6d8642a77..1a649da42c41 100644 --- a/net/mac80211/wext.c +++ b/net/mac80211/wext.c | |||
@@ -622,8 +622,7 @@ static int ieee80211_ioctl_siwpower(struct net_device *dev, | |||
622 | conf->dynamic_ps_timeout = timeout; | 622 | conf->dynamic_ps_timeout = timeout; |
623 | 623 | ||
624 | if (local->hw.flags & IEEE80211_HW_SUPPORTS_DYNAMIC_PS) | 624 | if (local->hw.flags & IEEE80211_HW_SUPPORTS_DYNAMIC_PS) |
625 | ieee80211_hw_config(local, | 625 | ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_PS); |
626 | IEEE80211_CONF_CHANGE_DYNPS_TIMEOUT); | ||
627 | 626 | ||
628 | ieee80211_recalc_ps(local, -1); | 627 | ieee80211_recalc_ps(local, -1); |
629 | 628 | ||