aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2010-02-23 21:34:11 +0100
committeracid-burn <acid-burn@opendreambox.org>2010-02-23 21:34:11 +0100
commit4d9387347a30e364546f0310f87e523dd2764932 (patch)
treec8f0b45b333ab574bf601cee5db7d69ac2d4c8b3
parentc9656234fc321dcd39b03921bab54b8848a507a6 (diff)
downloadenigma2-4d9387347a30e364546f0310f87e523dd2764932.tar.gz
enigma2-4d9387347a30e364546f0310f87e523dd2764932.zip
Components/Network.py: *fix usb wlan module recognition for new 1.6 oe images.
This fixes #449
-rwxr-xr-xlib/python/Components/Network.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py
index 4b0213d4..29491cb0 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