wireless: gs2200m: Add SIOCGIFFLAGS support to gs2200m_main.c

Summary:
- I noticed that the latest ifconfig command shows nothing
- Finally, I found that gs2200m_main.c needs to handle SIOCGIFFLAGS
- This commit fixes this issue

Impact:
- gs2200m only

Testing:
- Tested with spresense:wifi
- NOTE: gs2200m driver needs to be updated as well

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2022-09-07 10:14:55 +09:00 committed by Xiang Xiao
parent 048b79955e
commit 3837091582

View File

@ -1568,6 +1568,7 @@ static int ioctl_request(int fd, FAR struct gs2200m_s *priv,
switch (req->cmd)
{
case SIOCGIFADDR:
case SIOCGIFFLAGS:
case SIOCGIFHWADDR:
case SIOCGIWNWID:
case SIOCGIWFREQ: