[ath9k-devel] [PATCH] ath9k: enable 2GHz band only if the device supports it

2009-11-25 Thread Gabor Juhos
Currently, the 2GHz band is enabled unconditionally, even if the device does not support it. Changes-licensed-under: ISC Signed-off-by: Gabor Juhos --- drivers/net/wireless/ath/ath9k/main.c | 26 -- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/driver

Re: [ath9k-devel] [PATCH] ath9k: enable 2GHz band only if the device supports it

2009-11-25 Thread Luis R. Rodriguez
On Wed, Nov 25, 2009 at 12:29:15PM -0800, Gabor Juhos wrote: > Currently, the 2GHz band is enabled unconditionally, even if the device > does not support it. This is true, but we don't have any 11n 5 GHz only devices, The patch is fine too though but it'd be better if you fail with a proper ath_pr

Re: [ath9k-devel] [PATCH] ath9k: enable 2GHz band only if the device supports it

2009-11-25 Thread Felix Fietkau
Luis R. Rodriguez wrote: > On Wed, Nov 25, 2009 at 12:29:15PM -0800, Gabor Juhos wrote: >> Currently, the 2GHz band is enabled unconditionally, even if the device >> does not support it. > > This is true, but we don't have any 11n 5 GHz only devices, > The patch is fine too though but it'd be bett

Re: [ath9k-devel] [PATCH] ath9k: enable 2GHz band only if the device supports it

2009-11-25 Thread Luis R. Rodriguez
On Wed, Nov 25, 2009 at 4:30 PM, Felix Fietkau wrote: > Luis R. Rodriguez wrote: >> On Wed, Nov 25, 2009 at 12:29:15PM -0800, Gabor Juhos wrote: >>> Currently, the 2GHz band is enabled unconditionally, even if the device >>> does not support it. >> >> This is true, but we don't have any 11n 5 GHz