From: Abner Silva Date: Wed, 3 Sep 2008 21:15:18 +0000 (-0300) Subject: cx3110x-{chinooke,770he}: It's no longer needed to bring up the wireless interface... X-Git-Tag: Release-2010-05/1~5696^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5727c4118e89541e8ade10c3d9b55174d2d34815;p=openembedded.git cx3110x-{chinooke,770he}: It's no longer needed to bring up the wireless interface, because it is now up to networkmanager. Signed-off-by: Rodrigo Vivi --- diff --git a/packages/mamona/cx3110x-770he-0.8.1/cx3110x b/packages/mamona/cx3110x-770he-0.8.1/cx3110x index 592c7032ca..ce2ecdfbe8 100755 --- a/packages/mamona/cx3110x-770he-0.8.1/cx3110x +++ b/packages/mamona/cx3110x-770he-0.8.1/cx3110x @@ -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) diff --git a/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x b/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x index 592c7032ca..ce2ecdfbe8 100755 --- a/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x +++ b/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x @@ -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)