This is an automated email from the ASF dual-hosted git repository. jerpelea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 909eff540d8004371d5838b9c0764cc753d665cf Author: Masayuki Ishikawa <[email protected]> AuthorDate: Mon Oct 12 19:53:30 2020 +0900 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 <[email protected]> --- 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 ff45c25..5865aaf 100644 --- a/wireless/gs2200m/gs2200m_main.c +++ b/wireless/gs2200m/gs2200m_main.c @@ -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;
