]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc30b27600e3a8a6d34d2ce5317d0446fcf5c4b0
tree336d362834929cee89e8d420dc82ad8de0ae2c26
parent4f4b6728aa2b42a0adc508610591d8daec501549
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