Skip to content
Commit 2ef08cee authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Chris Friedt
Browse files

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



Using `getopt_state` to access `optarg` and also `optopt` offers
a better alternative to direct global access.

See e145eb92 for the previous change related to this.

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