Message ID | 1563204839-10683-1-git-send-email-milehu@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | fe59026f26954db72685ab0baa56c06bcf9b56cd |
Delegated to: | Kalle Valo |
Headers | show |
Series | ath11k: fix no traffic problem in co-exist monitor mode | expand |
Miles Hu <milehu@codeaurora.org> wrote: > Clear monitor flag in CB for regular data packet to avoid drop in mac80211. > > Signed-off-by: Miles Hu <milehu@codeaurora.org> > Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Patch applied to ath11k-bringup branch of ath.git, thanks. fe59026f2695 ath11k: fix no traffic problem in co-exist monitor mode
diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c index 9a1c247..b9c0eca 100644 --- a/drivers/net/wireless/ath/ath11k/dp_rx.c +++ b/drivers/net/wireless/ath/ath11k/dp_rx.c @@ -3915,6 +3915,7 @@ static int ath11k_dp_rx_mon_deliver(struct ath11k *ar, u32 mac_id, header = mon_skb; + rxs->flag = 0; do { skb_next = mon_skb->next; if (!skb_next) @@ -3936,6 +3937,7 @@ static int ath11k_dp_rx_mon_deliver(struct ath11k *ar, u32 mac_id, ath11k_dp_rx_deliver_msdu(ar, napi, mon_skb); mon_skb = skb_next; } while (mon_skb && (mon_skb != tail_msdu)); + rxs->flag = 0; return 0;
Clear monitor flag in CB for regular data packet to avoid drop in mac80211. Signed-off-by: Miles Hu <milehu@codeaurora.org> --- drivers/net/wireless/ath/ath11k/dp_rx.c | 2 ++ 1 file changed, 2 insertions(+)