mac80211: Restart STA timers only on associated state
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 7 Jul 2011 18:03:39 +0000 (23:03 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jul 2011 15:42:25 +0000 (11:42 -0400)
commit676b58c27475a9defccc025fea1cbd2b141ee539
treedc6c9099a7cdcf0dc4b04fe2456060e8db2f8ec9
parent565dfefbe196206bc1e40bf92e7c5d53e9d9f706
mac80211: Restart STA timers only on associated state

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.

Cc: stable@kernel.org
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c