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:
Malcolm Priestley
2014-06-25 21:14:36 +01:00
committed by Greg Kroah-Hartman
parent a23d8a7032
commit 9c45ce848f

View File

@@ -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);