mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
Merged in masayuki2009/nuttx.nuttx/fix_comments_in_gs2200m (pull request #1032)
drivers/wireless/gs2200m.c: Fix comments Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
committed by
Gregory Nutt
parent
08b596d26d
commit
2154a02fa1
@@ -1036,7 +1036,9 @@ enum spi_status_e gs2200m_hal_read(FAR struct gs2200m_dev_s *dev,
|
|||||||
goto errout;
|
goto errout;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get how many bytes we should read */
|
/* Send READ_REQUEST then receive READ_RESPONSE
|
||||||
|
* to get how many bytes we should read
|
||||||
|
*/
|
||||||
|
|
||||||
*len = _read_data_len(dev);
|
*len = _read_data_len(dev);
|
||||||
|
|
||||||
@@ -1046,7 +1048,7 @@ enum spi_status_e gs2200m_hal_read(FAR struct gs2200m_dev_s *dev,
|
|||||||
|
|
||||||
ASSERT(0 < *len);
|
ASSERT(0 < *len);
|
||||||
|
|
||||||
/* Read response header */
|
/* Read data header */
|
||||||
|
|
||||||
_read_data(dev, hdr, sizeof(hdr));
|
_read_data(dev, hdr, sizeof(hdr));
|
||||||
|
|
||||||
@@ -2310,8 +2312,8 @@ static int gs2200m_ioctl_assoc_sta(FAR struct gs2200m_dev_s *dev,
|
|||||||
t = gs2200m_enable_dhcpc(dev, 0);
|
t = gs2200m_enable_dhcpc(dev, 0);
|
||||||
ASSERT(TYPE_OK == t);
|
ASSERT(TYPE_OK == t);
|
||||||
|
|
||||||
|
|
||||||
/* Set static address */
|
/* Set static address */
|
||||||
|
|
||||||
t = gs2200m_set_addresses(dev,
|
t = gs2200m_set_addresses(dev,
|
||||||
"10.0.0.2",
|
"10.0.0.2",
|
||||||
"255.255.255.0",
|
"255.255.255.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user