]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix a copy-paste error in key offload management
authorJouni Malinen <j@w1.fi>
Mon, 27 Oct 2014 23:41:57 +0000 (01:41 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 27 Oct 2014 23:41:57 +0000 (01:41 +0200)
commit10bbe8b8edd2343589dc0c75c010d3f9858f8724
treee1e6b04bb4628fe222fd8b3f6bd15fc98ad35481
parent7d597d461777cd9af5d49dd678e29d0d400c27e1
nl80211: Fix a copy-paste error in key offload management

Commit b41f26845aaa7cf8aed6e4889e7041debc476ef9 ('Add support for
offloading key management operations to the driver') used incorrect
variable for determining the KCK length. This does not get triggered in
normal use cases since KCK and KEK are always included and of the same
length (in currently supported key management cases). Anyway, this needs
to be fixed to check the correct attribute. (CID 74491)

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211_event.c