From: Christian Lamparter Date: Fri, 6 Mar 2009 01:15:08 +0000 (+0100) Subject: p54: enable power save support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94041b294094bbd9fbbe11aa71278fdc70d29d6d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git p54: enable power save support This patch enables power save support on all p54 devices. Signed-off-by: Christian Lamparter Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c index 93abe49f4bde..b6905357a2e4 100644 --- a/drivers/net/wireless/p54/p54common.c +++ b/drivers/net/wireless/p54/p54common.c @@ -2548,6 +2548,8 @@ struct ieee80211_hw *p54_init_common(size_t priv_data_len) priv->basic_rate_mask = 0x15f; skb_queue_head_init(&priv->tx_queue); dev->flags = IEEE80211_HW_RX_INCLUDES_FCS | + IEEE80211_HW_SUPPORTS_PS | + IEEE80211_HW_PS_NULLFUNC_STACK | IEEE80211_HW_SIGNAL_DBM | IEEE80211_HW_NOISE_DBM;