projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da4a57
)
staging: rtl8188eu: fix comparsion to true
author
Michael Straube
<
[email protected]
>
Sun, 29 Jul 2018 18:54:46 +0000
(20:54 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 30 Jul 2018 09:02:25 +0000
(11:02 +0200)
Use if(x) instead of if(x == true).
Signed-off-by: Michael Straube <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/rtl8188eu/hal/hal_intf.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8188eu/hal/hal_intf.c
b/drivers/staging/rtl8188eu/hal/hal_intf.c
index c43e7b438058d0d0f4c7a1ecc890a5793861d90a..b21ba01abc57c9a22f348e08f8822cf335eca17e 100644
(file)
--- a/
drivers/staging/rtl8188eu/hal/hal_intf.c
+++ b/
drivers/staging/rtl8188eu/hal/hal_intf.c
@@
-50,7
+50,7
@@
void rtw_hal_update_ra_mask(struct adapter *adapt, u32 mac_id, u8 rssi_level)
{
struct mlme_priv *pmlmepriv = &(adapt->mlmepriv);
- if (check_fwstate(pmlmepriv, WIFI_AP_STATE)
== true
) {
+ if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
#ifdef CONFIG_88EU_AP_MODE
struct sta_info *psta = NULL;
struct sta_priv *pstapriv = &adapt->stapriv;