On Sat, Feb 23, 2008 at 11:31 PM, Nick Kossifidis <mick@xxxxxxxxxxx> wrote: > > * Make some changes to follow register dumps. > > Changes-licensed-under: ISC > Signed-off-by: Nick Kossifidis <mickflemm@xxxxxxxxx> > > --- > diff --git a/drivers/net/wireless/ath5k/hw.c b/drivers/net/wireless/ath5k/hw.c > index cd640ed..adcce6f 100644 > --- a/drivers/net/wireless/ath5k/hw.c > +++ b/drivers/net/wireless/ath5k/hw.c > @@ -727,15 +727,23 @@ int ath5k_hw_reset(struct ath5k_hw *ah, enum ieee80211_if_types op_mode, > /* > * Write some more initial register settings > */ > - if (ah->ah_version > AR5K_AR5211){ /* found on 5213+ */ > + if (ah->ah_version == AR5K_AR5212){ We should probably just move this to a helper. Will send a patch based on this. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html