snowball-init can't set wlan mac address

Bug #988238 reported by Matthew Bentham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IglooCommunity
Fix Released
Low
Kalle Vahlman

Bug Description

Here:

http://www.igloocommunity.org/support/BSP_User_Guides#Change_the_MAC_adress

It says that mac address is a parameter to the cw1200_wlan module.

Here:

http://www.igloocommunity.org/support/Snowball-Init

It says that you can set the mac address in /etc/snowballrc via the "WLAN_MAC" variable, and indeed this makes it pass the argument to the cw1200_wlan module.

However, wlan mac address is actually a parameter to the cw1200_core module, as documented here:

http://www.igloocommunity.org/support/Running_WLAN

And setting it on the cw1200_wlan module just makes that module fail to load.

Changed in igloocommunity:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Anmar Oueja (anmar) wrote :

Matthew: Can you please provide more detailed information. We need to know the release you are using, the kernel (uname -r) and the commands used.

Revision history for this message
Kalle Vahlman (kvahlman) wrote :

This is valid for the stable-3.3 tree at least:

http://www.igloocommunity.org/gitweb/?p=kernel/igloo-kernel.git;a=blob;f=drivers/staging/cw1200/main.c;hb=refs/heads/stable-linux-ux500-3.3#l49

but as the parameter is defined in main.c it will be built into cw1200_core, not cw1200_wlan:

http://www.igloocommunity.org/gitweb/?p=kernel/igloo-kernel.git;a=blob;f=drivers/staging/cw1200/Makefile;hb=refs/heads/stable-linux-ux500-3.3

So either the script needs changing or the module parameter location. It's not obvious to me why the mac address that affects the wifi interface is defined in the core module.

Changed in igloocommunity:
status: Incomplete → Confirmed
Revision history for this message
Kalle Vahlman (kvahlman) wrote :
Changed in igloocommunity:
assignee: nobody → Kalle Vahlman (kvahlman)
milestone: none → 2012.05
status: Confirmed → Fix Committed
Changed in igloocommunity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.