diff options
Diffstat (limited to 'net/mac80211/key.c')
-rw-r--r-- | net/mac80211/key.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/key.c b/net/mac80211/key.c index 0825d76edcfc..2291cd730091 100644 --- a/net/mac80211/key.c +++ b/net/mac80211/key.c | |||
@@ -492,6 +492,7 @@ ieee80211_key_alloc(u32 cipher, int idx, size_t key_len, | |||
492 | for (j = 0; j < len; j++) | 492 | for (j = 0; j < len; j++) |
493 | key->u.gen.rx_pn[i][j] = | 493 | key->u.gen.rx_pn[i][j] = |
494 | seq[len - j - 1]; | 494 | seq[len - j - 1]; |
495 | key->flags |= KEY_FLAG_CIPHER_SCHEME; | ||
495 | } | 496 | } |
496 | } | 497 | } |
497 | memcpy(key->conf.key, key_data, key_len); | 498 | memcpy(key->conf.key, key_data, key_len); |