drivers: wireless: Add SIOCGIFFLAGS support to gs2200m.c
Summary: - I noticed that the latest ifconfig command shows nothing - Finally, I found that gs2200m.c needs to handle SIOCGIFFLAGS - This commit fixes this issue Impact: - gs2200m only Testing: - Tested with spresense:wifi - NOTE: gs2200m_main.c will be updated later Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
3b04450808
commit
22a5cc0973
|
@ -2896,6 +2896,11 @@ static int gs2200m_ioctl_ifreq(FAR struct gs2200m_dev_s *dev,
|
|||
|
||||
switch (msg->cmd)
|
||||
{
|
||||
case SIOCGIFFLAGS:
|
||||
getreq = true;
|
||||
msg->ifr.ifr_flags = dev->net_dev.d_flags;
|
||||
break;
|
||||
|
||||
case SIOCGIFHWADDR:
|
||||
getreq = true;
|
||||
memcpy(&msg->ifr.ifr_hwaddr.sa_data,
|
||||
|
|
Loading…
Reference in New Issue