Commit 9c45ce84 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: vnt_mac_set_keyentry remove byLocalID check

This is now set in vnt_set_keys.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a23d8a70
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment