Skip to content
Commit e145eb92 authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Fabio Baltieri
Browse files

net: wifi: shell: adopt `getopt_state` for safer `optarg` access



By using `getopt_state` to access `optarg`, offering a better alternative
to direct global `optarg` access.

This approach mitigates the risks associated with concurrent access to
the global variable.

Signed-off-by: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent a6865c41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment