Modify

Opened 9 years ago

Closed 9 years ago

#4825 closed defect (fixed)

madwifi country loading with ath_ahb

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

I noticed madwifi.sh has country loading inside. But this only applies to ath_pci. And it crashes my ath_ahb. Can this part be made dynamic depending the BUS used?
It is about this part of madwifi.sh

	# Can only set the country code to one setting for the entire system. The last country code is the one that will be applied.
	config_get country "$device" country
	[ -z "$country" ] && country="0"
	local cc="0"
	[ -e /proc/sys/dev/$device/countrycode ] && cc="$(cat /proc/sys/dev/$device/countrycode)"
	if [ ! "$cc" = "$country" ] ; then
		rmmod ath_pci
		insmod ath_pci countrycode=$country
	fi

And if so maybe a variable outdoor can be added as well?
Thnx

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by Acinonyx <acinonyxs@…>

Both should be fixed/implemented on r15633

comment:2 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.