Messages in this thread Patch in this message | | | From | Alexander Kuleshov <> | Subject | [PATCH] staging: rtl8192e: Fix duplicated conditional branch | Date | Sun, 4 Jan 2015 12:59:15 +0600 |
| |
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 885315c..9010d0f 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -1661,7 +1661,7 @@ 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) { + } else if (dm_type == DIG_TYPE_THRESH_HIGHPWR_LOW) { dm_digtable.rssi_high_power_highthresh = dm_value; } else if (dm_type == DIG_TYPE_ENABLE) { dm_digtable.dig_state = DM_STA_DIG_MAX; -- 2.2.1.202.g44ae4ee.dirty
| |