From 1864059bcfa5d879889b5bf85840fb58ff80daa4 Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Tue, 29 Jan 2008 08:28:43 -0700 Subject: [PATCH] Trivial clean-ups - fix spelling in a comment - remove unused var - remove commented out code --- wifi-radar | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/wifi-radar b/wifi-radar index a2b9355..eb3f2df 100755 --- a/wifi-radar +++ b/wifi-radar @@ -201,12 +201,11 @@ def configure_dhcp_client(): break return (DHCP_COMMAND, DHCP_PIDFILE, DHCP_ARGS, DHCP_KILL_COMMAND) -# Scan for a limited time, return ap names a nd bssid found +# Scan for a limited time, return ap names and bssid found def scanning_thread( lock = None ): global access_points global main_radar_window global exit_flag - global current # Setup our essid pattern matcher essid_pattern = re.compile( "ESSID\s*(:|=)\s*\"([^\"]+)\"", re.I | re.M | re.S ) protocol_pattern = re.compile( "Protocol\s*(:|=)\s*IEEE 802.11\s*([abg]+)", re.I | re.M | re.S ) @@ -241,12 +240,6 @@ def scanning_thread( lock = None ): f = os.popen( scan_command, "r" ) scandata = f.read() f.close() - ## get the current ip - #current['ip'] = get_current_ip() - ## get the current essid - #current['essid'] = get_current_essid() - ## get the current bssid - #current['bssid'] = get_current_bssid() if __debug__: print "Current IP ", get_current_ip() print "Current ESSID ", get_current_essid() -- 2.11.4.GIT