]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Don't restart sta-timer if not associated.
authorBen Greear <greearb@candelatech.com>
Wed, 20 Mar 2013 00:50:50 +0000 (17:50 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Sun, 24 Mar 2013 10:15:59 +0000 (11:15 +0100)
commit5ff705fad3a12475d34f59cd5e536d1cd9a63f3f
treeef81040904a6e55894ead67c0db776aa6fc97fa0
parent7c2565ca7157b3ef99c1389f09945dccabb19779
mac80211: Don't restart sta-timer if not associated.

I found another crash when deleting lots of virtual stations
in a congested environment.  I think the problem is that
the ieee80211_mlme_notify_scan_completed could call
ieee80211_restart_sta_timer for a stopped interface
that was about to be deleted.

With the following patch I am unable to reproduce the
crash.

Signed-off-by: Ben Greear <greearb@candelatech.com>
[move check, also make the same change in mesh]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c
net/mac80211/mlme.c