Allow reason code to be specified for DEAUTH/DISASSOC test frame
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 12 Mar 2014 23:26:09 +0000 (01:26 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 12 Mar 2014 23:26:09 +0000 (01:26 +0200)
commitce6b9cd482e837c9b9019302a7a50c0fc4653843
treebdb93def0f300348f9d95e8f1c44f22e47faeeaf
parent7cd0aa7ea8644e14d5f215b8365b7b01752efe31
Allow reason code to be specified for DEAUTH/DISASSOC test frame

hostapd DEAUTHENTICATE and DISASSOCIATE control interface commands
accepted both a test=<0/1> and reason=<val> parameters, but these were
not supported in the same command as a combination. Move the code around
a bit to allow that as well since it can be helpful for automated test
scripts.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/ctrl_iface_ap.c