summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2012-03-18 14:08:50 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-03-26 15:07:27 -0400
commitb603c03e9534b9bec19ebf8c42bf217fd875ee65 (patch)
tree1f4e5cfff847387677886d91a19ffe50ca8ac74a
parentb5447ff92b5169eab843a76d83e98d0cd7b7f5b6 (diff)
downloadblackbird-op-linux-b603c03e9534b9bec19ebf8c42bf217fd875ee65.tar.gz
blackbird-op-linux-b603c03e9534b9bec19ebf8c42bf217fd875ee65.zip
mac80211: remove outdated comment
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>
-rw-r--r--net/mac80211/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index b581a24fa15c..16336480c631 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -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;
OpenPOWER on IntegriCloud