summaryrefslogtreecommitdiff
blob: 344e51a6cb8caaf58c1ce69440d2df01b6698153 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- wicd-1.7.0/wicd/wnettools.py	2010-01-15 12:49:11.000000000 +0800
+++ wicd-1.7.0.patched/wicd/wnettools.py	2010-12-12 03:50:31.000000000 +0800
@@ -59,7 +59,7 @@ wpa2_pattern = re.compile('(WPA2)', _re_
 
 #iwconfig-only regular expressions.
 ip_pattern = re.compile(r'inet [Aa]d?dr[^.]*:([^.]*\.[^.]*\.[^.]*\.[0-9]*)', re.S)
-bssid_pattern = re.compile('.*Access Point: (([0-9A-Z]{2}:){5}[0-9A-Z]{2})', _re_mode)
+bssid_pattern = re.compile('.*[(Access Point)|(Cell)]: (([0-9A-Z]{2}:){5}[0-9A-Z]{2})', _re_mode)
 bitrate_pattern = re.compile('.*Bit Rate[=:](.*?/s)', _re_mode)
 opmode_pattern = re.compile('.*Mode:(.*?) ', _re_mode)
 authmethods_pattern = re.compile('.*Authentication capabilities :\n(.*?)Current', _re_mode)