drivers: wireless: Fix to handle UDP connect() with bind() in gs2200m.c

Summary:
- This commit fixes to handle UDP connect() with bind() to a local port.

Impact:
- All UDP cases which use connect() with gs2200m
- Need to update apps/wireless/gs2200m as well

Testing:
- Tested with spresense:wifi
- Create a UDP socket and bind() to a local port.
- Then connect() to remote address with port and send()

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa
2020-10-09 21:14:36 +09:00
committed by Alin Jerpelea
parent 6a2bd9a75b
commit 02b08590a1
2 changed files with 21 additions and 8 deletions
+1
View File
@@ -79,6 +79,7 @@ struct gs2200m_connect_msg
{
char cid;
uint8_t type;
uint16_t lport;
char addr[17];
char port[6];
};