OSDN Git Service

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)
commit2cc59e784b54fb95accbd5f5a9d12041eec72dbc
treebca938328d00ea0158c07e114ee16890424d2d8b
parent6ae16775d6bcd57e64100fda78fd01c8e7e7f08d
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