You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/09/07 03:21:35 UTC
[incubator-nuttx-apps] branch master updated: wireless: gs2200m: Add SIOCGIFFLAGS support to gs2200m_main.c
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 383709158 wireless: gs2200m: Add SIOCGIFFLAGS support to gs2200m_main.c
383709158 is described below
commit 3837091582e10e8117f858f0f26bbbb66a183827
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Wed Sep 7 10:14:55 2022 +0900
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 <Ma...@jp.sony.com>
---
wireless/gs2200m/gs2200m_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c
index b53cf97af..fa1002740 100644
--- a/wireless/gs2200m/gs2200m_main.c
+++ b/wireless/gs2200m/gs2200m_main.c
@@ -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: