Re: Problem with prism2dl

Felix Wiemann <[email protected]> Mon, 30 Oct 2006 03:44:54 -0500
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------080709010005050507010103
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Felix Wiemann wrote:

> I'm having a problem with prism2dl.  I'm using a Netgear MA111 USB 
> wireless device:

Hi again,

The attached patch for "shared" fixed the problem for me.  The first 
addition is simply a fix (hey, you could always add quotes by default, 
they never hurt), the second one might be specific to my MA111.  It 
would be cool if you could incorporate it somehow.

Best,

    Felix

-- 
Felix Wiemann -- http://www.ososo.de/

--------------080709010005050507010103
Content-Type: text/plain;
 name="shared.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="shared.patch"

--- shared.bak	2006-10-30 03:39:58.000000000 -0500
+++ shared	2006-10-30 03:40:33.000000000 -0500
@@ -75,7 +75,7 @@
 
 if [ ! -n "$WLAN_UDEV" ] ; then
 if [ -f /proc/sys/kernel/hotplug -a \
-	-x `cat /proc/sys/kernel/hotplug` -a \
+	-x "`cat /proc/sys/kernel/hotplug`" -a \
 	-f /etc/hotplug/wlan.agent ] ; then
 	HAS_HOTPLUG=y
 else
@@ -150,6 +150,7 @@
 	fi
 
 	# Enable the interface
+	$WLANCTL $1 lnxreq_ifstate ifstate=disable
 	result=`$WLANCTL $1 lnxreq_ifstate ifstate=enable`
 	if [ $? = 0 ] ; then
 		eval $result

--------------080709010005050507010103
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Linux-wlan-user mailing list
[email protected]
http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-user
--------------080709010005050507010103--