2009/2/4 Tulio Magno Quites Machado Filho <tul...@gmail.com>: > Suppression of unused ah_regdomain_hw and correction of ah_regdomain > > Signed-off-by: Tulio Magno Quites Machado Filho <tul...@gmail.com> > --- > drivers/net/wireless/ath5k/ath5k.h | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/wireless/ath5k/ath5k.h > b/drivers/net/wireless/ath5k/ath5k.h > index a3313be..144e6a1 100644 > --- a/drivers/net/wireless/ath5k/ath5k.h > +++ b/drivers/net/wireless/ath5k/ath5k.h > @@ -1040,8 +1040,7 @@ struct ath5k_hw { > bool ah_5ghz; > bool ah_2ghz; > > -#define ah_regdomain ah_capabilities.cap_regdomain.reg_current > -#define ah_regdomain_hw ah_capabilities.cap_regdomain.reg_hw > +#define ah_regdomain ah_capabilities.cap_eeprom.ee_regdomain > #define ah_modes ah_capabilities.cap_mode > #define ah_ee_version ah_capabilities.cap_eeprom.ee_version >
In fact none of these are used yet, we 'll have to work out regdomain stuff (using CTLs from eeprom to propertly calibrate the phy, map hex value from eeprom to regdomain, notify CRDA etc). -- GPG ID: 0xD21DB2DB As you read this post global entropy rises. Have Fun ;-) Nick _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel