]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: reply to AUTH with DEAUTH if sta allocation fails in IBSS
authorAntonio Quartulli <ordex@autistici.org>
Fri, 7 Sep 2012 11:28:53 +0000 (13:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Sep 2012 11:50:47 +0000 (13:50 +0200)
commit8fbdfd1b039534020a89e35e11089deb0f4186a7
treebca938328d00ea0158c07e114ee16890424d2d8b
parent418673b5189b0d5f585e086618dd0191c6a032f2
mac80211: reply to AUTH with DEAUTH if sta allocation fails in IBSS

Whenever a host gets an AUTH frame it first allocates a new
station and then replies with another AUTH frame. However,
if sta allocations fails the host should send a DEAUTH frame
instead to tell the other end that something went wrong.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
[reword commit message a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c