Skip to content
Commit 6cbb37dd authored by Maochen Wang's avatar Maochen Wang Committed by Benjamin Cabé
Browse files

net: l2: wifi: setting CMD only when net_if is up



Setting Wi-Fi cmd only when the net interface is up, avoid the case
that driver deinit and net interface is down, then the L2 APIs interact
with supplicant and driver, which may lead to CPU exception.

Signed-off-by: default avatarMaochen Wang <maochen.wang@nxp.com>
parent cd772b37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment