]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Migrate from set_tx to key_flag API
authorAlexander Wetzel <alexander@wetzel-home.de>
Wed, 4 Mar 2020 17:16:56 +0000 (18:16 +0100)
committerJouni Malinen <j@w1.fi>
Wed, 4 Mar 2020 22:52:31 +0000 (00:52 +0200)
commit81621eab7cd09da023ee745bffafb1ee4170777e
treef944891687c35edf95d0977d0352450b5c269083
parent9757f18db41dd8504361e141050b7b59c4803413
nl80211: Migrate from set_tx to key_flag API

Migrate nl80211 driver to key_flag API and add additional sanity checks.

I'm still not sure why we install unicast WEP keys also as default
unicast keys. Based on how I understand how mac80211 handles that it
should be pointless. I just stuck to how we do things prior to the patch
for WEP keys to not break anything. After all other drivers may need it.

Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
src/drivers/driver_nl80211.c