Skip to content
Commit 13a6dc53 authored by Gaetan Perrot's avatar Gaetan Perrot Committed by Johan Hedberg
Browse files

drivers: wifi: nrf_wifi: add NULL check in parse_sband



Ensure event is not NULL before accessing its members in
nrf_wifi_parse_sband().

This adds a defensive check to avoid potential null dereference and ensures
the function returns early when event data is invalid (i.e., zero channels
or bitrates).

Signed-off-by: default avatarGaetan Perrot <gaetan.perrot@spacecubics.com>
parent b0f1eb30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment