Skip to contentSkip to conversation

ar9170: uncomment powermgt case handle

PATCH In review Christian Lamparter 1 participant 1 message Apr 24, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 ar9170: uncomment powermgt case handle

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.

---

drivers/net/wireless/ath/ar9170/mac.c +2 -2
index 4ee3223..f28a4c2 100644
@@ -268,9 +268,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;