Sfoglia il codice sorgente

qcacld-3.0: inform frame via netdev adapter even in disconnected state

currently when the frame is received driver checks if its a ml
association and if the frame is received on non-assoc link it
gets the assoc link adapter and sends the frame to the userspace.

In the current issue when the sta is not connected and a frame is
received on the secondary link for which netdevice is not registered
it is sending on the same unregistered netdevice resulting
in system instability.

If the frame is received on the non registered adapter, get the
netdev adapter and send the frame to userspace.

Change-Id: I8b2b6315df211622cdcd3853b5ca0ece7edb84fc
CRs-Fixed: 3258365
Arun Kumar Khandavalli 2 anni fa
parent
commit
ceda8940f8
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      core/hdd/src/wlan_hdd_p2p.c

+ 1 - 2
core/hdd/src/wlan_hdd_p2p.c

@@ -1152,8 +1152,7 @@ __hdd_indicate_mgmt_frame_to_user(struct hdd_adapter *adapter,
 
 	assoc_adapter = adapter;
 
-	if (wlan_vdev_mlme_is_mlo_vdev(adapter->vdev) &&
-	    !hdd_adapter_is_ml_adapter(adapter)) {
+	if (hdd_adapter_is_link_adapter(adapter)) {
 		hdd_debug("adapter is not ml adapter move to ml adapter");
 		assoc_adapter = hdd_adapter_get_mlo_adapter_from_link(adapter);
 		if (!assoc_adapter) {