mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 02:12:00 -04:00
Staging: rtl8192u: Fix duplicate conditional branch
Replace duplicate branch with correct value. This branch is supposed to work for low thresh value. Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5dc42962e1
commit
c5c15efba8
@@ -1628,8 +1628,8 @@ void dm_change_dynamic_initgain_thresh(struct net_device *dev, u32 dm_type,
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user