]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: in ADHOC don't update last_rx if sta is not authorized
authorAntonio Quartulli <antonio@open-mesh.com>
Sun, 25 Nov 2012 22:13:42 +0000 (23:13 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 26 Nov 2012 10:31:39 +0000 (11:31 +0100)
commite584da5e3cc0b299d4b86072941cbe6dd9a046a8
tree037994e269c1b206ca25e579fa416efd3585501a
parentc216e6417f473ab4666f539844652bf2f4129777
mac80211: in ADHOC don't update last_rx if sta is not authorized

It does not make sense to keep a station alive if it is not authorised
at all. If IBSS/RSN is used it could also be the case that something
went wrong during the keys exchange and the stations ended up in a not
recoverable state.

By not updating last_rx we are giving the station a chance to be
deleted and to start the key exchange once again from scratch.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c