mesh: Do not use RX MGTK as RX IGTK
authorJouni Malinen <j@w1.fi>
Sat, 18 Jun 2016 12:50:14 +0000 (15:50 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 19 Jun 2016 17:18:09 +0000 (20:18 +0300)
commit4367eec4394002046e1ad99b2ecf878d925415f0
tree9c8814dba2fdcb1bc0e7f6ba4374642bd4fb1a02
parenta4eec3c2305856bfb228daac6b047f6baf80c12e
mesh: Do not use RX MGTK as RX IGTK

The previous implementation was incorrect in forcing the MGTK to be used
as the IGTK as well. Define new variable for storing IGTK and use that,
if set, to configure IGTK to the driver. This commit does not yet fix
AMPE element parsing to fill in this information.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/sta_info.h
wpa_supplicant/mesh_mpm.c