diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2016-03-17 13:41:03 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-04-06 21:36:27 +0300 |
commit | b3c4201bce5e32a353e68e1daf2aed213b8495e7 (patch) | |
tree | fb350c6317987cdf0b49a885f7f0c51b325dad59 /drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c | |
parent | 154fb486df3d8e2fb346dfb9777abe20b23e1d6f (diff) | |
download | blackbird-op-linux-b3c4201bce5e32a353e68e1daf2aed213b8495e7.tar.gz blackbird-op-linux-b3c4201bce5e32a353e68e1daf2aed213b8495e7.zip |
rtlwifi: rtl8723be: Fix Smatch warnings
Smatch reports the following:
CHECK drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c:1726 _rtl8723be_phy_path_a_rx_iqk() warn: inconsistent indenting
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c:2304 _rtl8723be_phy_lc_calibrate() warn: inconsistent indenting
drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c:2609 _rtl8723be_phy_set_rf_power_state() warn: inconsistent indenting
CHECK drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c:306 _rtl8723be_get_txpower_writeval_by_regulatory() warn: inconsistent indenting
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c')
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c b/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c index 5ed4492d3c80..97f5a0377e7a 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c @@ -303,8 +303,8 @@ static void _rtl8723be_get_txpower_writeval_by_regulatory( [chnlgroup][index + (rf ? 8 : 0)] & (0x7f << (i * 8))) >> (i * 8)); - if (pwr_diff_limit[i] > pwr_diff) - pwr_diff_limit[i] = pwr_diff; + if (pwr_diff_limit[i] > pwr_diff) + pwr_diff_limit[i] = pwr_diff; } customer_limit = (pwr_diff_limit[3] << 24) | |