[oe-commits] Ricardo Salveti : cx3110x: we should call wlan-cal after loading the module
GIT User account
git at amethyst.openembedded.net
Thu Oct 23 21:34:46 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: df0eefb3ba9e2089b164e794631d25124f33c09e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=df0eefb3ba9e2089b164e794631d25124f33c09e
Author: Ricardo Salveti <ricardo.salveti at openbossa.org>
Date: Tue Sep 2 17:05:53 2008 -0300
cx3110x: we should call wlan-cal after loading the module
The problem: wlan-cal tool is also proprietary.
Signed-off-by: Ricardo Salveti <ricardo.salveti at openbossa.org>
---
packages/mamona/cx3110x-770he-0.8.1/cx3110x | 4 ++++
packages/mamona/cx3110x-770he_0.8.1.bb | 2 +-
packages/mamona/cx3110x-chinooke-2.0.15/cx3110x | 4 ++++
packages/mamona/cx3110x-chinooke_2.0.15.bb | 2 +-
4 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/packages/mamona/cx3110x-770he-0.8.1/cx3110x b/packages/mamona/cx3110x-770he-0.8.1/cx3110x
index 93e59af..592c703 100755
--- a/packages/mamona/cx3110x-770he-0.8.1/cx3110x
+++ b/packages/mamona/cx3110x-770he-0.8.1/cx3110x
@@ -8,6 +8,10 @@ swap_module () {
rmmod cx3110x
# Inserting the new one
insmod $MODULE
+ # Setting device options (MAC, default country, etc)
+ 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
diff --git a/packages/mamona/cx3110x-770he_0.8.1.bb b/packages/mamona/cx3110x-770he_0.8.1.bb
index 2cee32b..7f90aad 100644
--- a/packages/mamona/cx3110x-770he_0.8.1.bb
+++ b/packages/mamona/cx3110x-770he_0.8.1.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r1"
KERVER = "2.6.16"
diff --git a/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x b/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x
index 93e59af..592c703 100755
--- a/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x
+++ b/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x
@@ -8,6 +8,10 @@ swap_module () {
rmmod cx3110x
# Inserting the new one
insmod $MODULE
+ # Setting device options (MAC, default country, etc)
+ 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
diff --git a/packages/mamona/cx3110x-chinooke_2.0.15.bb b/packages/mamona/cx3110x-chinooke_2.0.15.bb
index 17bb1f4..ed991dd 100644
--- a/packages/mamona/cx3110x-chinooke_2.0.15.bb
+++ b/packages/mamona/cx3110x-chinooke_2.0.15.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r1"
KERVER = "2.6.21"
More information about the Openembedded-commits
mailing list