Commit 72ef9e76 authored by Sanjay Kumar Konduri's avatar Sanjay Kumar Konduri Committed by Stefan Bader

UBUNTU: SAUCE: Redpine: fix soft-ap invisible issue

BugLink: http://bugs.launchpad.net/bugs/1773400

Observed third party station is unable to scan redpine AP, when soft-ap
wizard invoked. This is because power save is not disabled for soft-ap
mode. Hence, disabling power save for soft-ap mode.
Signed-off-by: default avatarSanjay Kumar Konduri <sanjay.konduri@redpinesignals.com>
Signed-off-by: default avatarSiva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Acked-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
parent f88fc35e
......@@ -564,8 +564,7 @@ static void rsi_mac80211_tx(struct ieee80211_hw *hw,
return;
}
if ((!bss->assoc) &&
(adapter->ps_state == PS_ENABLED) &&
(vif->type == NL80211_IFTYPE_STATION))
(adapter->ps_state == PS_ENABLED))
rsi_disable_ps(adapter);
if (ieee80211_is_auth(wlh->frame_control))
common->mac_ops_resumed = false;
......@@ -859,6 +858,7 @@ static int rsi_mac80211_change_interface(struct ieee80211_hw *hw,
switch (newtype) {
case NL80211_IFTYPE_AP:
rsi_disable_ps(adapter);
ven_rsi_dbg(INFO_ZONE, "Change to AP Mode\n");
intf_mode = AP_OPMODE;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment