staging: rtl8192e: Fix duplicated conditional branch
PATCH v2 1/1 staging: rtl8192e: Fix duplicated conditional branch
Signed-off-by Alexander Kuleshov <[email protected]>
--- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +2 -2
@@ -1661,8 +1661,8 @@ void dm_change_dynamic_initgain_thresh(struct net_device *dev, dm_digtable.rssi_low_thresh = dm_value; }else if (dm_type ==DIG_TYPE_THRESH_HIGHPWR_HIGH ) { dm_digtable.rssi_high_power_highthresh = dm_value; - }else if (dm_type ==DIG_TYPE_THRESH_HIGHPWR_HIGH ) { - dm_digtable.rssi_high_power_highthresh = dm_value; + }else if (dm_type ==DIG_TYPE_THRESH_HIGHPWR_LOW ) { + dm_digtable.rssi_high_power_lowthresh = dm_value; }else if (dm_type ==DIG_TYPE_ENABLE ) { dm_digtable.dig_state =DM_STA_DIG_MAX ; dm_digtable.dig_enable_flag = true;
Signature · 1 line
2.2.1.202.g44ae4ee.dirty