[PATCH 2/4] UBUNTU: SAUCE: Redpine: Fix card write failure issue at S4 restore

Amitkumar Karwar amitkarwar at gmail.com
Thu Mar 1 14:13:17 UTC 2018


From: Prameela Rani Garnepudi <prameela.garnepudi at redpinesignals.com>

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742090
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742094

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: Prameela Rani Garnepudi <prameela.garnepudi at redpinesignals.com>
Signed-off-by: Amitkumar Karwar <amit.karwar at redpinesignals.com>
---
 ubuntu/rsi/rsi_91x_mgmt.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ubuntu/rsi/rsi_91x_mgmt.c b/ubuntu/rsi/rsi_91x_mgmt.c
index 8a18c67..c66e14d 100644
--- a/ubuntu/rsi/rsi_91x_mgmt.c
+++ b/ubuntu/rsi/rsi_91x_mgmt.c
@@ -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->flags |= INTERNAL_MGMT_PKT;
 	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);
 	rsi_set_event(&common->tx_thread.event);
 	return 0;
-- 
2.7.4





More information about the kernel-team mailing list