mirror of https://gitee.com/openkylin/linux.git
staging: rtl8192e: Fix duplicated conditional branch
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c6d8763896
commit
e77e19ac0f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue