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/
--- 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
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-user lists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user |