cx3110x-{chinooke,770he}: It's no longer needed to bring up the wireless interface...
authorAbner Silva <abner.silva@openbossa.org>
Wed, 3 Sep 2008 21:15:18 +0000 (18:15 -0300)
committerRodrigo Vivi <rodrigo.vivi@openbossa.org>
Thu, 23 Oct 2008 21:05:30 +0000 (18:05 -0300)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@openbossa.org>
packages/mamona/cx3110x-770he-0.8.1/cx3110x
packages/mamona/cx3110x-chinooke-2.0.15/cx3110x

index 592c703..ce2ecdf 100755 (executable)
@@ -12,8 +12,6 @@ swap_module () {
         if [ -x /mnt/initfs/usr/bin/wlan-cal ]; then
             chroot /mnt/initfs /usr/bin/wlan-cal
         fi
-        # Getting up the interface to make the firmware being loaded (stupid, i know)
-        ifconfig wlan0 up
     else
         echo "OOPS: $MODULE not found, the switch is not possible" 1>&2
     fi
@@ -24,7 +22,6 @@ case "$1" in
        swap_module
        ;;
     stop)
-       ifconfig $IFACE down
        rmmod cx3110x
        ;;
     force-reload | restart)
index 592c703..ce2ecdf 100755 (executable)
@@ -12,8 +12,6 @@ swap_module () {
         if [ -x /mnt/initfs/usr/bin/wlan-cal ]; then
             chroot /mnt/initfs /usr/bin/wlan-cal
         fi
-        # Getting up the interface to make the firmware being loaded (stupid, i know)
-        ifconfig wlan0 up
     else
         echo "OOPS: $MODULE not found, the switch is not possible" 1>&2
     fi
@@ -24,7 +22,6 @@ case "$1" in
        swap_module
        ;;
     stop)
-       ifconfig $IFACE down
        rmmod cx3110x
        ;;
     force-reload | restart)