TDLS: Fix MIC calculation for teardown frame to depend on reason code
authorSunil Dutt <duttus@codeaurora.org>
Tue, 5 Feb 2013 11:36:36 +0000 (13:36 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Feb 2013 11:36:36 +0000 (13:36 +0200)
commit0cb12963b69abf493e456c8b2ed2b0be30ce11e7
tree5700e84e09a30d9faaaf91337a73514463e48ca7
parent3887878e536525ec7ffb8ab4c8110d01bea13308
TDLS: Fix MIC calculation for teardown frame to depend on reason code

The reason code used for calculating the MIC should correspond to the
reason code with which the teardown frame is sent, as the receiver shall
use the one obtained in the frame for validating the MIC.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/tdls.c