|
@@ -1,6 +1,6 @@
|
|
|
|
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -264,6 +264,9 @@ dp_rx_wds_add_or_update_ast(struct dp_soc *soc, struct dp_peer *ta_peer,
|
|
*/
|
|
*/
|
|
if ((sa_peer->vdev->opmode == wlan_op_mode_ap) &&
|
|
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);
|
|
sa_peer->delete_in_progress = true;
|
|
sa_peer->delete_in_progress = true;
|
|
if (soc->cdp_soc.ol_ops->peer_sta_kickout) {
|
|
if (soc->cdp_soc.ol_ops->peer_sta_kickout) {
|
|
soc->cdp_soc.ol_ops->peer_sta_kickout(
|
|
soc->cdp_soc.ol_ops->peer_sta_kickout(
|