This patch enables power save support on all p54 devices.
Signed-off-by: Christian Lamparter <[email protected]>
---
also 2.6.31+ material
---
diff -Nurp a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
--- a/drivers/net/wireless/p54/p54common.c 2009-03-06 01:41:23.000000000 +0100
+++ b/drivers/net/wireless/p54/p54common.c 2009-03-06 02:08:11.000000000 +0100
@@ -2543,6 +2543,8 @@ struct ieee80211_hw *p54_init_common(siz
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;