|
@@ -181,6 +181,13 @@ int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
|
|
|
return ret;
|
|
|
|
|
|
set_bit(WLVIF_FLAG_PSM, &wlvif->flags);
|
|
|
+
|
|
|
+ /* enable beacon early termination. Not relevant for 5GHz */
|
|
|
+ if (wlvif->band == IEEE80211_BAND_2GHZ) {
|
|
|
+ ret = wl1271_acx_bet_enable(wl, wlvif, true);
|
|
|
+ if (ret < 0)
|
|
|
+ return ret;
|
|
|
+ }
|
|
|
break;
|
|
|
case STATION_ACTIVE_MODE:
|
|
|
wl1271_debug(DEBUG_PSM, "leaving psm");
|