mac80211: in IBSS use the Auth frame to trigger STA reinsertion
authorAntonio Quartulli <ordex@autistici.org>
Tue, 17 Jan 2012 23:10:44 +0000 (00:10 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:32:27 +0000 (14:32 -0500)
commit6d810f10325522cfcf498dc6d64b9f96e1f5153f
tree336d362834929cee89e8d420dc82ad8de0ae2c26
parent24dd0dd74ec8dc4abada132e380dc179459b0f77
mac80211: in IBSS use the Auth frame to trigger STA reinsertion

In case of a node re-joining the cell the sta_info structure belonging to it is
first destroyed and then reinserted. In this way its internal state is reset.

The joining operation is recognised thank the Auth frame being received.

This operation is helpful in case of a node being rebooted that is joining the
ad-hoc cell again, before its purge timeout on other nodes expires.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c