diff options
author | Ricardo Salveti <ricardo.salveti@openbossa.org> | 2008-09-02 17:05:53 -0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@openbossa.org> | 2008-10-23 18:04:28 -0300 |
commit | df0eefb3ba9e2089b164e794631d25124f33c09e (patch) | |
tree | b8c753f3f6ac62d27070427095a05c0c6c582c1e /packages/mamona/cx3110x-chinooke-2.0.15/cx3110x | |
parent | 42db0f651284fcfbe4fa8b23de1915574b6d4f49 (diff) |
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@openbossa.org>
Diffstat (limited to 'packages/mamona/cx3110x-chinooke-2.0.15/cx3110x')
-rwxr-xr-x | packages/mamona/cx3110x-chinooke-2.0.15/cx3110x | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x b/packages/mamona/cx3110x-chinooke-2.0.15/cx3110x index 93e59afa55..592c7032ca 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 |