staging: vt6556: vnt_start Fix missing call to vnt_key_init_table.

The key table is not intialized correctly without this call.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: <stable@vger.kernel.org> # v3.17+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2017-04-29 13:03:44 +01:00 committed by Greg Kroah-Hartman
parent 66e496c413
commit dc32190f2c
1 changed files with 3 additions and 0 deletions

View File

@ -513,6 +513,9 @@ static int vnt_start(struct ieee80211_hw *hw)
goto free_all; goto free_all;
} }
if (vnt_key_init_table(priv))
goto free_all;
priv->int_interval = 1; /* bInterval is set to 1 */ priv->int_interval = 1; /* bInterval is set to 1 */
vnt_int_start_interrupt(priv); vnt_int_start_interrupt(priv);