Commit f5ede563 authored by Prameela Rani Garnepudi's avatar Prameela Rani Garnepudi Committed by Kleber Sacilotto de Souza

UBUNTU: SAUCE: Redpine: Fix card write failure issue at S4 restore

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1753438
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1753439

In S4 regressions, at times card write failure issue is observed.
This is because of sending vap delete frame before peer delete.
Root cause of the issue is, adding peer notify frame to the head
of management queue. This is corrected and S4 is working fine.
Signed-off-by: default avatarPrameela Rani Garnepudi <prameela.garnepudi@redpinesignals.com>
Signed-off-by: default avatarAmitkumar Karwar <amit.karwar@redpinesignals.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent 06a2f021
...@@ -426,9 +426,6 @@ static int rsi_send_internal_mgmt_frame(struct rsi_common *common, ...@@ -426,9 +426,6 @@ static int rsi_send_internal_mgmt_frame(struct rsi_common *common,
tx_params = (struct skb_info *)&IEEE80211_SKB_CB(skb)->driver_data; tx_params = (struct skb_info *)&IEEE80211_SKB_CB(skb)->driver_data;
tx_params->flags |= INTERNAL_MGMT_PKT; tx_params->flags |= INTERNAL_MGMT_PKT;
skb->priority = MGMT_SOFT_Q; skb->priority = MGMT_SOFT_Q;
if (skb->data[2] == PEER_NOTIFY)
skb_queue_head(&common->tx_queue[MGMT_SOFT_Q], skb);
else
skb_queue_tail(&common->tx_queue[MGMT_SOFT_Q], skb); skb_queue_tail(&common->tx_queue[MGMT_SOFT_Q], skb);
rsi_set_event(&common->tx_thread.event); rsi_set_event(&common->tx_thread.event);
return 0; return 0;
......
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