diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 0c1cc2d62a8..0917def0e08 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -922,7 +922,7 @@ static void ath9k_bss_assoc_info(struct ath_softc *sc, | |||
922 | mod_timer(&sc->ani.timer, | 922 | mod_timer(&sc->ani.timer, |
923 | jiffies + msecs_to_jiffies(ATH_ANI_POLLINTERVAL)); | 923 | jiffies + msecs_to_jiffies(ATH_ANI_POLLINTERVAL)); |
924 | } else { | 924 | } else { |
925 | DPRINTF(sc, ATH_DBG_CONFIG, "Bss Info DISSOC\n"); | 925 | DPRINTF(sc, ATH_DBG_CONFIG, "Bss Info DISASSOC\n"); |
926 | sc->curaid = 0; | 926 | sc->curaid = 0; |
927 | } | 927 | } |
928 | } | 928 | } |
@@ -2036,8 +2036,7 @@ static int ath9k_start(struct ieee80211_hw *hw) | |||
2036 | * here except setup the interrupt mask. | 2036 | * here except setup the interrupt mask. |
2037 | */ | 2037 | */ |
2038 | if (ath_startrecv(sc) != 0) { | 2038 | if (ath_startrecv(sc) != 0) { |
2039 | DPRINTF(sc, ATH_DBG_FATAL, | 2039 | DPRINTF(sc, ATH_DBG_FATAL, "Unable to start recv logic\n"); |
2040 | "Unable to start recv logic\n"); | ||
2041 | r = -EIO; | 2040 | r = -EIO; |
2042 | goto mutex_unlock; | 2041 | goto mutex_unlock; |
2043 | } | 2042 | } |
@@ -2551,6 +2550,8 @@ static int ath9k_conf_tx(struct ieee80211_hw *hw, u16 queue, | |||
2551 | 2550 | ||
2552 | mutex_lock(&sc->mutex); | 2551 | mutex_lock(&sc->mutex); |
2553 | 2552 | ||
2553 | memset(&qi, 0, sizeof(struct ath9k_tx_queue_info)); | ||
2554 | |||
2554 | qi.tqi_aifs = params->aifs; | 2555 | qi.tqi_aifs = params->aifs; |
2555 | qi.tqi_cwmin = params->cw_min; | 2556 | qi.tqi_cwmin = params->cw_min; |
2556 | qi.tqi_cwmax = params->cw_max; | 2557 | qi.tqi_cwmax = params->cw_max; |