public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mac80211: remove outdated comment
@ 2012-03-18 12:08 Eliad Peller
  0 siblings, 0 replies; 2+ messages in thread
From: Eliad Peller @ 2012-03-18 12:08 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless

The on-oper-channel optimization was reverted,
so remove the outdated comment as well.

Signed-off-by: Eliad Peller <eliad@wizery.com>
---
 net/mac80211/main.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 7f99551..83233fd 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;
-- 
1.7.6.401.g6a319


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [PATCH] mac80211: remove outdated comment
@ 2009-10-27 19:56 Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2009-10-27 19:56 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless

This comment hasn't been a real TODO item for a long
time now since we fixed that quite a while ago.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 net/mac80211/scan.c |    2 --
 1 file changed, 2 deletions(-)

--- wireless-testing.orig/net/mac80211/scan.c	2009-10-27 17:12:54.000000000 +0100
+++ wireless-testing/net/mac80211/scan.c	2009-10-27 17:19:16.000000000 +0100
@@ -12,8 +12,6 @@
  * published by the Free Software Foundation.
  */
 
-/* TODO: figure out how to avoid that the "current BSS" expires */
-
 #include <linux/wireless.h>
 #include <linux/if_arp.h>
 #include <linux/rtnetlink.h>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-18 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-18 12:08 [PATCH] mac80211: remove outdated comment Eliad Peller
  -- strict thread matches above, loose matches on Subject: below --
2009-10-27 19:56 Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox