This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a commit to branch releases/10.0 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 56486d960084354a5d1055275caee3fa27be4c7a 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 28010ed..8f41018 100644 --- a/wireless/gs2200m/gs2200m_main.c +++ b/wireless/gs2200m/gs2200m_main.c @@ -1513,6 +1513,7 @@ static int ioctl_request(int fd, FAR struct gs2200m_s *priv, switch (req->cmd) { + case SIOCGIFADDR: case SIOCGIFHWADDR: getreq = true; break;
