qca-wifi: Add appropirate check to kickout direct peer
Add appropriate check to kickout directly associated peer
when it roams to another AP and reachable via TA peer.
Change-Id: I3e7cc0f1f4e4aa3e05fd7b7e823471978d07a64c
CRS-Fixed: 2801038
diff --git a/dp/wifi3.0/dp_txrx_wds.h b/dp/wifi3.0/dp_txrx_wds.h
index 899c249..ad5e0fc 100644
--- a/dp/wifi3.0/dp_txrx_wds.h
+++ b/dp/wifi3.0/dp_txrx_wds.h
@@ -320,7 +320,7 @@
return;
if ((sa_peer->vdev->opmode == wlan_op_mode_ap) &&
- sa_peer->delete_in_progress) {
+ !sa_peer->delete_in_progress) {
qdf_mem_copy(wds_src_mac,
(qdf_nbuf_data(nbuf) + QDF_MAC_ADDR_SIZE),
QDF_MAC_ADDR_SIZE);