mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 14:53:05 +00:00
rtl8188eu: Change "switch(" to "switch ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
8e22f0d2e8
commit
c818db1282
35 changed files with 170 additions and 170 deletions
|
@ -2475,7 +2475,7 @@ u8 process_p2p_provdisc_req(struct wifidirect_info *pwdinfo, u8 *pframe, uint l
|
|||
if ( rtw_get_wps_attr_content( wpsie, wps_ielen, WPS_ATTR_CONF_METHOD , ( u8 *)&be_tmp, &attr_contentlen) )
|
||||
{
|
||||
uconfig_method = be16_to_cpu(be_tmp);
|
||||
switch( uconfig_method )
|
||||
switch ( uconfig_method )
|
||||
{
|
||||
case WPS_CM_DISPLYA:
|
||||
{
|
||||
|
@ -3360,7 +3360,7 @@ void rtw_append_wfd_ie(struct adapter *padapter, u8 *buf, u32* len)
|
|||
{
|
||||
OUI_Subtype = frame_body[6];
|
||||
dialogToken = frame_body[7];
|
||||
switch( OUI_Subtype )/* OUI Subtype */
|
||||
switch ( OUI_Subtype )/* OUI Subtype */
|
||||
{
|
||||
case P2P_GO_NEGO_REQ:
|
||||
{
|
||||
|
@ -3427,7 +3427,7 @@ void rtw_append_wfd_ie(struct adapter *padapter, u8 *buf, u32* len)
|
|||
cpu_to_be32( *( ( u32* ) ( frame_body + 1 ) ) ), OUI_Subtype, dialogToken);
|
||||
#endif
|
||||
|
||||
switch(OUI_Subtype)
|
||||
switch (OUI_Subtype)
|
||||
{
|
||||
case P2P_NOTICE_OF_ABSENCE:
|
||||
|
||||
|
@ -3557,7 +3557,7 @@ int rtw_p2p_check_frames(struct adapter *padapter, const u8 *buf, u32 len, u8 tx
|
|||
len-sizeof(struct rtw_ieee80211_hdr_3addr)-_PUBLIC_ACTION_IE_OFFSET_,
|
||||
NULL, &p2p_ielen);
|
||||
|
||||
switch( OUI_Subtype )/* OUI Subtype */
|
||||
switch ( OUI_Subtype )/* OUI Subtype */
|
||||
{
|
||||
u8 *cont;
|
||||
uint cont_len;
|
||||
|
@ -3781,7 +3781,7 @@ int rtw_p2p_check_frames(struct adapter *padapter, const u8 *buf, u32 len, u8 tx
|
|||
|
||||
is_p2p_frame = OUI_Subtype;
|
||||
|
||||
switch(OUI_Subtype)
|
||||
switch (OUI_Subtype)
|
||||
{
|
||||
case P2P_NOTICE_OF_ABSENCE:
|
||||
DBG_871X("RTW_%s:P2P_NOTICE_OF_ABSENCE, dialogToken=%d\n", (tx==true)?"TX":"RX", dialogToken);
|
||||
|
@ -3823,7 +3823,7 @@ void p2p_protocol_wk_hdl(struct adapter *padapter, int intCmdType)
|
|||
struct wifidirect_info *pwdinfo= &(padapter->wdinfo);
|
||||
|
||||
|
||||
switch(intCmdType)
|
||||
switch (intCmdType)
|
||||
{
|
||||
case P2P_FIND_PHASE_WK:
|
||||
{
|
||||
|
@ -3966,7 +3966,7 @@ void p2p_ps_wk_hdl(struct adapter *padapter, u8 p2p_ps_state)
|
|||
|
||||
|
||||
/* Pre action for p2p state */
|
||||
switch(p2p_ps_state)
|
||||
switch (p2p_ps_state)
|
||||
{
|
||||
case P2P_PS_DISABLE:
|
||||
pwdinfo->p2p_ps_state = p2p_ps_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue