staging: vt6656: vnt_set_keymode don't save pairwise key entry.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 6 Jul 2014 22:19:47 +0000 (23:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 23:04:22 +0000 (16:04 -0700)
commit4473c8cccdf50cd8ab16d65bbbbacfc6a02c9e36
tree34fcf763ba7b8eb2f7f3c9c3344f93742ef89213
parent618ff9cebe873681e6b0edab15528890577afd27
staging: vt6656: vnt_set_keymode don't save pairwise key entry.

The device refuses to associate to older access points even though in
the logs it appears to be associated in tkip or ccmp mode.

Clear bit from key_entry_inuse in pairwise key so the entry is over written
by group address.

This doesn't seem to make any difference to newer access points and
is a temporary fix until a better solution is found.

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