OSDN Git Service

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 10:16:15 +0000 (12:16 +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 0594828..b195537 100644 (file)
@@ -522,6 +522,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);