浏览代码

qcacld-3.0: Allow deliver EAPOL with link address to stack

For the MLO SAP setup connection with legacy STA case,
the DA of the 2/4 or 4/4  EAPOL is possible with bssid
address(link address) not adapter address(mld address),
and we should not drop them inside driver.

So add this change to allow EAPOL to be delivered with
DA is equal to link address or mld address.

Change-Id: I629d24190a4fdef2ef6b3eddd76a345735ec0ff7
CRs-Fixed: 3650022
Chaoli Zhou 1 年之前
父节点
当前提交
fe3d6b0ace
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/dp/core/src/wlan_dp_softap_txrx.c

+ 1 - 1
components/dp/core/src/wlan_dp_softap_txrx.c

@@ -867,7 +867,7 @@ QDF_STATUS dp_softap_rx_packet_cbk(void *link_ctx, qdf_nbuf_t rx_buf)
 			is_eapol = true;
 
 		if (qdf_unlikely(is_eapol &&
-		    !(!qdf_mem_cmp(dp_intf->mac_addr.bytes,
+		    !(!qdf_mem_cmp(dp_link->mac_addr.bytes,
 				   qdf_nbuf_data(nbuf) +
 				   QDF_NBUF_DEST_MAC_OFFSET,
 				   QDF_MAC_ADDR_SIZE) ||