mac80211: clear local->ps_data on disassoc
authorEliad Peller <eliad@wizery.com>
Thu, 26 May 2011 08:46:37 +0000 (11:46 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 May 2011 16:53:46 +0000 (12:53 -0400)
commita331400bf01231253a0d9ab211c83212d2ac4edb
tree25995aff5387cac409666b2ca3979ac65fd3f59e
parent64bd0821a3b66c3307d7a4ee5523e3e35ec2df0e
mac80211: clear local->ps_data on disassoc

local->ps_data wasn't cleared on disassociation, which
(in some corner cases) caused reconnections to enter
psm before association completed.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c