mac80211: remove outdated comment
authorEliad Peller <eliad@wizery.com>
Sun, 18 Mar 2012 12:08:50 +0000 (14:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Mar 2012 19:07:27 +0000 (15:07 -0400)
The on-oper-channel optimization was reverted,
so remove the outdated comment as well.

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

index b581a24..1633648 100644 (file)
@@ -102,9 +102,6 @@ int ieee80211_hw_config(struct ieee80211_local *local, u32 changed)
 
        might_sleep();
 
-       /* If this off-channel logic ever changes,  ieee80211_on_oper_channel
-        * may need to change as well.
-        */
        offchannel_flag = local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL;
        if (local->scan_channel) {
                chan = local->scan_channel;