staging: vt6556: vnt_start Fix missing call to vnt_key_init_table.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 29 Apr 2017 12:03:44 +0000 (13:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 05:41:58 +0000 (07:41 +0200)
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>
drivers/staging/vt6656/main_usb.c

index 9237930..06f7841 100644 (file)
@@ -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);