mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 06:49:29 -04:00
staging: vt6656: vnt_mac_set_keyentry remove byLocalID check
This is now set in vnt_set_keys. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a23d8a7032
commit
9c45ce848f
@@ -125,10 +125,6 @@ void vnt_mac_set_keyentry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx,
|
||||
struct vnt_mac_set_key set_key;
|
||||
u16 offset;
|
||||
|
||||
if (priv->byLocalID <= MAC_REVISION_A1)
|
||||
if (priv->vnt_mgmt.byCSSPK == KEY_CTL_CCMP)
|
||||
return;
|
||||
|
||||
offset = MISCFIFO_KEYETRY0;
|
||||
offset += (entry_idx * MISCFIFO_KEYENTRYSIZE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user