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>
Sat, 15 Jul 2017 09:57:49 +0000 (11:57 +0200)
commit dc32190f2cd41c7dba25363ea7d618d4f5172b4e upstream.

The key table is not intialized correctly without this call.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c

index 01e642db311e5cc4d977ab262c6c912dbe23351b..f35ee85f61b582f9b6014e009a4e6383f18e2c0e 100644 (file)
@@ -529,6 +529,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);