Fix issues reported on PR #1233

This commit is contained in:
Alan C. Assis
2020-06-14 19:59:38 -03:00
committed by patacongo
parent 6ff18a7f3b
commit 7609b67496
6 changed files with 42 additions and 28 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ enum net_lltype_e
NET_LL_IEEE80211, /* IEEE 802.11 */
NET_LL_IEEE802154, /* IEEE 802.15.4 MAC */
NET_LL_PKTRADIO, /* Non-standard packet radio */
NET_LL_MBIM
NET_LL_MBIM /* CDC-MBIM USB host driver */
};
/* This defines a bitmap big enough for one bit for each socket option */
+5 -3
View File
@@ -1,4 +1,4 @@
/****************************************************************************
/*****************************************************************************
* include/nuttx/usb/cdc.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
* License for the specific language governing permissions and limitations
* under the License.
*
****************************************************************************/
*****************************************************************************/
#ifndef __INCLUDE_NUTTX_USB_CDC_H
#define __INCLUDE_NUTTX_USB_CDC_H
@@ -930,7 +930,9 @@ struct cdc_linecoding_s
struct cdc_linestatus_s
{
uint8_t size[2]; /* wLength, Size of this structure, in bytes */
uint8_t ringer[4]; /* dwRingerBitmap, Ringer Conf bitmap for this line */
uint8_t ringer[4]; /* dwRingerBitmap, Ringer Configuration bitmap for this
* line
*/
uint8_t line[4]; /* dwLineState, Defines current state of the line */
uint32_t call[1]; /* dwCallStateN, Current state of call N on the line */
};