mac80211: Restart STA timers only on associated state
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 7 Jul 2011 18:03:39 +0000 (23:33 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 5 Aug 2011 04:58:35 +0000 (21:58 -0700)
commit148a97cd068a58b6c8553aa5775caec7ac5a0545
treeae25ecb606f3580d6d470b7b00fb1de894086a51
parent11e46da8ca083512f90f8251b27194108814fe24
mac80211: Restart STA timers only on associated state

commit 676b58c27475a9defccc025fea1cbd2b141ee539 upstream.

A panic was observed when the device is failed to resume properly,
and there are no running interfaces. ieee80211_reconfig tries
to restart STA timers on unassociated state.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/mlme.c