mac80211: Report rejected association to user space SME
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 1 Apr 2009 14:23:54 +0000 (17:23 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:39 +0000 (16:54 -0400)
commit66174bbea0b9c5bd4b7d060fed26bf5ec912c422
tree25994c4dcbdaee2ae36db0df8a9cfa9f3fbc445b
parent5ef2d41afb7fce2315d12a8aaebe0c9f1b50755b
mac80211: Report rejected association to user space SME

When using nl80211 association, we need to send association response
with a failure code to user space SME instead of just internally
trying to send out the same (re)association request again couple of
times. This fixes problems in association process getting stuck on a
failure when user space is not notified in any way that something
actually failed.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c