Skip to content
Commit bc80b0a2 authored by Krishna T's avatar Krishna T Committed by Carles Cufí
Browse files

net: shell: Use net management API for MAC address configuration



Fix a bug in setting MAC address using net_if API, the API doesn't do a
memcpy but just stores the pointer and shell was passing stack pointer.

We can use dynamic allocation but freeing the memory for the MAC address
would be trickier, so, use the net management API and let the underlying
drivers figure out the MAC address memory management.

Signed-off-by: default avatarKrishna T <krishna.t@nordicsemi.no>
parent 7952197a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment