Forráskód Böngészése

qcacld-3.0: Deinit TX/RX module when reset all adapters

The hdd_reset_all_adapters won't reset the txrx_vdev & tx_fn in the
adapter, which will cause the issue if the OS still deliver the packet
before the txrx_vdev registered again after SSR happens.

Deinit TX/RX module when doing reset all adapters during the SSR
procedure to avoid this problem.

Change-Id: Ia16b488c63b691fe9c3cc8c2cd49913b27cc32f0
CRs-Fixed: 2197248
Tiger Yu 7 éve
szülő
commit
94a5a5c414
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      core/hdd/src/wlan_hdd_main.c

+ 2 - 0
core/hdd/src/wlan_hdd_main.c

@@ -5135,6 +5135,8 @@ QDF_STATUS hdd_reset_all_adapters(struct hdd_context *hdd_ctx)
 			}
 		}
 
+		hdd_softap_deinit_tx_rx(adapter);
+
 		/* Destroy vdev which will be recreated during reinit. */
 		hdd_vdev_destroy(adapter);
 	}