staging: vt6656: always call vnt_update_ifs on short time change.

short time change needs to synchronize parameters in vnt_update_ifs so
a call to the function is always necessary.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2017-04-29 13:03:43 +01:00 committed by Greg Kroah-Hartman
parent c3972591d9
commit 66e496c413
1 changed files with 1 additions and 0 deletions

View File

@ -715,6 +715,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
priv->short_slot_time = false; priv->short_slot_time = false;
vnt_set_short_slot_time(priv); vnt_set_short_slot_time(priv);
vnt_update_ifs(priv);
vnt_set_vga_gain_offset(priv, priv->bb_vga[0]); vnt_set_vga_gain_offset(priv, priv->bb_vga[0]);
vnt_update_pre_ed_threshold(priv, false); vnt_update_pre_ed_threshold(priv, false);
} }