rtlwifi: rtl8192{c,ce,cu,se}: Remove comparisons of booleans with true
These are a potential source of confusion, as most C code treats all non-zero values as true. Signed-off-by: Mike McCormack <mikem@ring3k.org> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
4b9d8d67b4
commit
e10542c447
@@ -410,7 +410,7 @@ void rtl92s_phy_rf6052_set_ccktxpower(struct ieee80211_hw *hw, u8 pwrlevel)
|
||||
(rtlefuse->eeprom_regulatory != 0)))
|
||||
dont_inc_cck_or_turboscanoff = true;
|
||||
|
||||
if (mac->act_scanning == true) {
|
||||
if (mac->act_scanning) {
|
||||
txagc = 0x3f;
|
||||
if (dont_inc_cck_or_turboscanoff)
|
||||
txagc = pwrlevel;
|
||||
|
Reference in New Issue
Block a user