wireless: gs2200m: Add support for ioctl(fd, SIOCGIFADDR, ...)

Summary:
- This commit adds support for ioctl(fd, SIOCGIFADDR, ...) to gs2200m_main.c

Impact:
- Only affects ioctl(fd, SIOCGIFADDR, ...) with gs2200m
- Need to update nuttx as well

Testing:
- Tested with spresense:wifi
- Tested with dhcpc

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-10-12 19:53:30 +09:00 committed by Alin Jerpelea
parent b71c5f8cb1
commit 909eff540d

View File

@ -1516,6 +1516,7 @@ static int ioctl_request(int fd, FAR struct gs2200m_s *priv,
switch (req->cmd)
{
case SIOCGIFADDR:
case SIOCGIFHWADDR:
getreq = true;
break;