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)
commit62a40a15554d6924a58b3e9f8756e0d683dc9c0c
tree01bab4faf01a83f551dd1ac70ae86e8505776607
parent90e0970f8788cef2c8f5183af5a98f4f94600faf
mac80211: fix LED in idle handling

feng xiangjun reports that my

commit 382a103b2b528a3085cde4ac56fc69d92a828b72
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