Skip to content

Commit

Permalink
staging: vt6556: vnt_start Fix missing call to vnt_key_init_table.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Malcolm Priestley authored and Greg Kroah-Hartman committed May 15, 2017
1 parent 66e496c commit dc32190
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/staging/vt6656/main_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,9 @@ static int vnt_start(struct ieee80211_hw *hw)
goto free_all;
}

if (vnt_key_init_table(priv))
goto free_all;

priv->int_interval = 1; /* bInterval is set to 1 */

vnt_int_start_interrupt(priv);
Expand Down

0 comments on commit dc32190

Please sign in to comment.