diff options
| author | acid-burn <acid-burn@opendreambox.org> | 2010-03-31 10:42:40 +0200 |
|---|---|---|
| committer | acid-burn <acid-burn@opendreambox.org> | 2010-03-31 10:42:40 +0200 |
| commit | 97d46aee1158e549c110d66a0e1c4185c3cbbdf3 (patch) | |
| tree | 9090264af7d9111c083cc84f840549a1376f99ed /lib | |
| parent | 0b29614d57e24f5217e052998808c05ac841e353 (diff) | |
| parent | 4d9387347a30e364546f0310f87e523dd2764932 (diff) | |
| download | enigma2-97d46aee1158e549c110d66a0e1c4185c3cbbdf3.tar.gz enigma2-97d46aee1158e549c110d66a0e1c4185c3cbbdf3.zip | |
Merge commit 'origin/bug_449_fix_wlan_usbstick_recognition'
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/python/Components/Network.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index 45b8bfa0..b9da48d8 100755 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -580,11 +580,11 @@ class Network: self.wlanmodule = 'madwifi' if os_path.exists(rt73_dir): rtfiles = listdir(rt73_dir) - if len(rtfiles) == 2: + if len(rtfiles) == 2 or len(rtfiles) == 5: self.wlanmodule = 'ralink' if os_path.exists(zd1211b_dir): zdfiles = listdir(zd1211b_dir) - if len(zdfiles) == 1: + if len(zdfiles) == 1 or len(zdfiles) == 5: self.wlanmodule = 'zydas' return self.wlanmodule |
