]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix LED in idle handling
authorJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 09:52:34 +0000 (11:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 11:12:05 +0000 (13:12 +0200)
commit774bd55593c3b1daa65e7465925887bd61c9c725
tree01bab4faf01a83f551dd1ac70ae86e8505776607
parent1553ea3a3510879e26f8028f0e38defb54943cfd
mac80211: fix LED in idle handling

feng xiangjun reports that my

commit 6c7c3a8b7a993568df528b08ea5b843655da5797
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Fri Mar 22 22:30:09 2013 +0100

    mac80211: fix idle handling sequence

broke the wireless status LED. The reason is that
we now call ieee80211_idle_off() when the channel
context is assigned, and that doesn't recalculate
the LED state. Fix this by making that function a
wrapper around most of idle recalculation while
forcing active.

Reported-by: feng xiangjun <fengxj325@gmail.com>
Tested-by: feng xiangjun <fengxj325@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c