ar9170: uncomment powermgt case handle
authorChristian Lamparter <chunkeey@web.de>
Fri, 24 Apr 2009 19:41:18 +0000 (21:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:14:39 +0000 (15:14 -0400)
This patch uncomment a few lines that survived the RFCs.
However, there is not much to worry about, since AP mode is
not officially advertised and supported.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/mac.c

index 45986b6eadbc06c736d0986a28dae7276bc575bd..43aeb69685d31ca41d848056d551460bdef0ad4b 100644 (file)
@@ -283,9 +283,9 @@ int ar9170_set_operating_mode(struct ar9170 *ar)
                case NL80211_IFTYPE_ADHOC:
                        pm_mode |= AR9170_MAC_REG_POWERMGT_IBSS;
                        break;
-/*             case NL80211_IFTYPE_AP:
+               case NL80211_IFTYPE_AP:
                        pm_mode |= AR9170_MAC_REG_POWERMGT_AP;
-                       break;*/
+                       break;
                case NL80211_IFTYPE_WDS:
                        pm_mode |= AR9170_MAC_REG_POWERMGT_AP_WDS;
                        break;