mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-05 05:07:49 +00:00
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:
parent
c69bc30ff6
commit
56486d9600
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue