ath5k: fix scanning in AR2424
PATCH 1/1 ath5k: fix scanning in AR2424
AR5K_PHY_PLL_40MHZ_5413 should not be ORed with AR5K_PHY_MODE_RAD_RF5112 for 5 GHz channels.
The incorrect PLL value breaks scanning in the countries where 5 GHz channels are allowed.
---
drivers/net/wireless/ath5k/reset.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/ath5k/reset.c +1 -1
@@ -359,7 +359,7 @@ int ath5k_hw_nic_wakeup(struct ath5k_hw *ah, int flags, bool initial) mode |=AR5K_PHY_MODE_FREQ_5GHZ ;if (ah->ah_radio ==AR5K_RF5413 ) - clock |=AR5K_PHY_PLL_40MHZ_5413 ; + clock =AR5K_PHY_PLL_40MHZ_5413 ;else clock |=AR5K_PHY_PLL_40MHZ ;
2009/3/27 Pavel Roskin <[email protected]>:
Quoted 1 line
AR5K_PHY_PLL_40MHZ_5413should not be ORed with AR5K_PHY_MODE_RAD_RF5=
112
drivers/net/wireles=
Quoted 12 lines
for 5 GHz channels.
The incorrect PLL value breaks scanning in the countries where 5 GHz channels are allowed.
Signed-off-by Pavel Roskin <[email protected]>---
=C2=A0drivers/net/wireless/ath5k/reset.c | =C2=A0 =C2=A02 +- =C2=A01 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireles= renamed from drivers/net/wireless/ath5k/reset.c +0
-0
s/ath5k/reset.c
drivers/net/wireless/ath5k/reset.c int ath5k_hw_nic_wakeup(struct ath5k_hw *ah, int =
Quoted 4 lines
index 7a17d31..faede82 100644
drivers/net/wireless/ath5k/reset.c +0
-0@@ -359,7 +359,7 @@ int ath5k_hw_nic_wakeup(struct ath5k_hw *ah, int =
flags, bool initial)
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0mode |=3D AR5K_PHY_MODE_FREQ_5GHZ;
Quoted 2 lines
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0if (ah->ah_radio =3D=3D AR5K_RF5413)
Quoted 1 line
- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 clock |=3D AR5K_PHY_PLL_40MHZ_5413;
Quoted 1 line
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 clock =3D AR5K_PHY_PLL_40MHZ_5413;
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0else
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0clock |=3D AR5K_PHY_PLL_40MHZ=
;
Quoted 1 line
--=20
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-) Nick
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html