diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-02-08 16:38:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-08 16:38:38 -0500 |
commit | 6e7e6213e4956828927c30e3ef5a42812d00c650 (patch) | |
tree | 3e13859aae5ac0a50eecd452e96849e5e373f444 /drivers/net/wireless/ath | |
parent | 5ffaf8a361b4c9025963959a744f21d8173c7669 (diff) | |
parent | c0ce77b8323c1a0d4eeef97caf16c0ea971222a9 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Conflicts:
net/mac80211/scan.c
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 7 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 0b1b88ffa497..f15fee76a4e2 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -812,12 +812,11 @@ static void ath9k_hw_init_mode_gain_regs(struct ath_hw *ah) | |||
812 | } | 812 | } |
813 | } | 813 | } |
814 | 814 | ||
815 | static void ath9k_hw_init_11a_eeprom_fix(struct ath_hw *ah) | 815 | static void ath9k_hw_init_eeprom_fix(struct ath_hw *ah) |
816 | { | 816 | { |
817 | u32 i, j; | 817 | u32 i, j; |
818 | 818 | ||
819 | if ((ah->hw_version.devid == AR9280_DEVID_PCI) && | 819 | if (ah->hw_version.devid == AR9280_DEVID_PCI) { |
820 | test_bit(ATH9K_MODE_11A, ah->caps.wireless_modes)) { | ||
821 | 820 | ||
822 | /* EEPROM Fixup */ | 821 | /* EEPROM Fixup */ |
823 | for (i = 0; i < ah->iniModes.ia_rows; i++) { | 822 | for (i = 0; i < ah->iniModes.ia_rows; i++) { |
@@ -937,7 +936,7 @@ int ath9k_hw_init(struct ath_hw *ah) | |||
937 | if (r) | 936 | if (r) |
938 | return r; | 937 | return r; |
939 | 938 | ||
940 | ath9k_hw_init_11a_eeprom_fix(ah); | 939 | ath9k_hw_init_eeprom_fix(ah); |
941 | 940 | ||
942 | r = ath9k_hw_init_macaddr(ah); | 941 | r = ath9k_hw_init_macaddr(ah); |
943 | if (r) { | 942 | if (r) { |
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 12069aac1d6c..6796d5cdc293 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1472,10 +1472,10 @@ static void ath9k_remove_interface(struct ieee80211_hw *hw, | |||
1472 | (sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT)) { | 1472 | (sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT)) { |
1473 | ath9k_ps_wakeup(sc); | 1473 | ath9k_ps_wakeup(sc); |
1474 | ath9k_hw_stoptxdma(sc->sc_ah, sc->beacon.beaconq); | 1474 | ath9k_hw_stoptxdma(sc->sc_ah, sc->beacon.beaconq); |
1475 | ath_beacon_return(sc, avp); | ||
1476 | ath9k_ps_restore(sc); | 1475 | ath9k_ps_restore(sc); |
1477 | } | 1476 | } |
1478 | 1477 | ||
1478 | ath_beacon_return(sc, avp); | ||
1479 | sc->sc_flags &= ~SC_OP_BEACONS; | 1479 | sc->sc_flags &= ~SC_OP_BEACONS; |
1480 | 1480 | ||
1481 | for (i = 0; i < ARRAY_SIZE(sc->beacon.bslot); i++) { | 1481 | for (i = 0; i < ARRAY_SIZE(sc->beacon.bslot); i++) { |