]> git.ipfire.org Git - thirdparty/hostap.git/commit
Change reason code for AP mode BSS termination to 3
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 3 Apr 2012 13:17:38 +0000 (16:17 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 3 Apr 2012 13:17:38 +0000 (16:17 +0300)
commit52b2004285a82074ce74ff66230d61c2253d54f6
tree5b20c6552f4d7b3fd628a4fdac1cd407151b5fce
parent1ed08baf89e455d0d087fb1e7177bc5f07b4d7ac
Change reason code for AP mode BSS termination to 3

Use reason code 3 (Deauthenticated because sending STA is leaving)
instead of reason code 2 (Previous authentication ot valid) in the
Deauthentication frame sent at the time a BSS is terminated. This is
more accurate reason for the message and allows the stations to get
better understand on why they were disconnected. This can be useful
especially for P2P clients that can use this as a signal that the
P2P group session was ended per P2P specification section 3.2.9.

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