mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: Change all "if(" to "if ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
aa89a39a09
commit
6ead3e77dc
61 changed files with 3500 additions and 3500 deletions
|
@ -74,21 +74,21 @@ int rtw_p2p_enable(struct adapter *padapter, enum P2P_ROLE role);
|
|||
|
||||
static inline void _rtw_p2p_set_state(struct wifidirect_info *wdinfo, enum P2P_STATE state)
|
||||
{
|
||||
if(wdinfo->p2p_state != state) {
|
||||
if (wdinfo->p2p_state != state) {
|
||||
/* wdinfo->pre_p2p_state = wdinfo->p2p_state; */
|
||||
wdinfo->p2p_state = state;
|
||||
}
|
||||
}
|
||||
static inline void _rtw_p2p_set_pre_state(struct wifidirect_info *wdinfo, enum P2P_STATE state)
|
||||
{
|
||||
if(wdinfo->pre_p2p_state != state) {
|
||||
if (wdinfo->pre_p2p_state != state) {
|
||||
wdinfo->pre_p2p_state = state;
|
||||
}
|
||||
}
|
||||
|
||||
static inline void _rtw_p2p_set_role(struct wifidirect_info *wdinfo, enum P2P_ROLE role)
|
||||
{
|
||||
if(wdinfo->role != role) {
|
||||
if (wdinfo->role != role) {
|
||||
wdinfo->role = role;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue