Commit b53cea2f authored by Angus Ainslie's avatar Angus Ainslie Committed by Martin Kepplinger
Browse files

net: wireless: redpine: fix uapsd logic



Use "or" so the defaults aren't overwritten
Signed-off-by: default avatarAngus Ainslie <angus@akkea.ca>
parent 5e4a2e33
......@@ -2737,7 +2737,7 @@ int rsi_send_ps_request(struct rsi_hw *adapter, bool enable)
if (common->uapsd_bitmap) {
// ps->ps_mimic_support = 1;
ps->ps_uapsd_acs = common->uapsd_bitmap;
ps->ps_uapsd_acs = (adapter->hw->uapsd_max_sp_len <<
ps->ps_uapsd_acs |= (adapter->hw->uapsd_max_sp_len <<
IEEE80211_WMM_IE_STA_QOSINFO_SP_SHIFT) |
IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK;
ps->ps_uapsd_wakeup_period = ps_info->uapsd_wakeup_period;
......
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