summaryrefslogtreecommitdiff
path: root/drivers/staging/cw1200/sta.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/cw1200/sta.c')
-rw-r--r--drivers/staging/cw1200/sta.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/cw1200/sta.c b/drivers/staging/cw1200/sta.c
index 9e14d30253c..49a62014b2e 100644
--- a/drivers/staging/cw1200/sta.c
+++ b/drivers/staging/cw1200/sta.c
@@ -379,9 +379,7 @@ int cw1200_config(struct ieee80211_hw *dev, u32 changed)
if (changed & IEEE80211_CONF_CHANGE_IDLE) {
struct wsm_operational_mode mode = {
- .power_mode = (conf->flags & IEEE80211_CONF_IDLE) ?
- wsm_power_mode_quiescent :
- wsm_power_mode_doze,
+ .power_mode = wsm_power_mode_quiescent,
.disableMoreFlagUsage = true,
};
wsm_lock_tx(priv);