]> 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)
commitec23a1add7bae04b919c9ab00a1e6925ead08977
tree336d362834929cee89e8d420dc82ad8de0ae2c26
parente604f7855a4768048593a3d3bdd31b2bc5bc9357
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