aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorRaja Mani <rmani@qca.qualcomm.com>2013-02-07 13:24:53 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-07 13:24:53 (GMT)
commit3140803b6d004c32c9e1bbb6288d04a14eb75a9b (patch)
treeafc75439844eed2386a41e64b1e0e5e6309d527c /src/drivers/driver_common.c
parent409ca9a84daee279d743d87f9b78d61ecccbc401 (diff)
downloadhostap-3140803b6d004c32c9e1bbb6288d04a14eb75a9b.zip
hostap-3140803b6d004c32c9e1bbb6288d04a14eb75a9b.tar.gz
hostap-3140803b6d004c32c9e1bbb6288d04a14eb75a9b.tar.bz2
nl80211: Add ctrl_iface message for AP mode connection rejection
When AP mode operation reject the client, nl80211 layer advertises the connect failed event with the reason for failures (for example, max client reached, etc.) using NL80211_CMD_CONN_FAILED. This patch adds some debug messages whenever such an event is received from the nl80211 layer and also the same event is posted to the upper layer via wpa_msg(). Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Diffstat (limited to 'src/drivers/driver_common.c')
-rw-r--r--src/drivers/driver_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/driver_common.c b/src/drivers/driver_common.c
index 418cf1a..565a01b 100644
--- a/src/drivers/driver_common.c
+++ b/src/drivers/driver_common.c
@@ -79,6 +79,7 @@ const char * event_to_string(enum wpa_event_type event)
E2S(EAPOL_TX_STATUS);
E2S(CH_SWITCH);
E2S(WNM);
+ E2S(CONNECT_FAILED_REASON);
}
return "UNKNOWN";