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

net: l2: wifi: add the check if dev is NULL



Add the check if dev is NULL (when iface is NULL, dev is NULL) when
setting Wi-Fi CMD, in case Wi-Fi driver init fails and shell crashes.

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