aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2010-02-23 21:35:43 +0100
committeracid-burn <acid-burn@opendreambox.org>2010-02-23 21:35:43 +0100
commit4aec730b6eb5eaac23a7eab69678ce13bd45a0a3 (patch)
treef94cfb246cb04a46aa413afd74b36dc692cd3c30 /lib/python/Components
parent62d7c7e0b4d31822c47dd2b4d6d505bda424a39f (diff)
parent4d9387347a30e364546f0310f87e523dd2764932 (diff)
downloadenigma2-4aec730b6eb5eaac23a7eab69678ce13bd45a0a3.tar.gz
enigma2-4aec730b6eb5eaac23a7eab69678ce13bd45a0a3.zip
Merge commit 'origin/bug_449_fix_wlan_usbstick_recognition' into experimental
Diffstat (limited to 'lib/python/Components')
-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