diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-06-25 21:14:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-26 20:21:20 -0400 |
commit | 9c45ce848fa3ca2f4f80bc8c0d0993843806683b (patch) | |
tree | e53a65ebdd9a59cc1b7f5ede72e5c178afe47e55 | |
parent | a23d8a70327292e4a2af453a1efa5580cdecd874 (diff) |
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>
-rw-r--r-- | drivers/staging/vt6656/mac.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/mac.c b/drivers/staging/vt6656/mac.c index b06436fdfbdd..a60240c1e15a 100644 --- a/drivers/staging/vt6656/mac.c +++ b/drivers/staging/vt6656/mac.c @@ -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); |