diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/phy.c')
-rw-r--r-- | drivers/net/wireless/ath9k/phy.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath9k/phy.c b/drivers/net/wireless/ath9k/phy.c index 4f1c8bf8342b..766982a8196e 100644 --- a/drivers/net/wireless/ath9k/phy.c +++ b/drivers/net/wireless/ath9k/phy.c | |||
@@ -52,8 +52,7 @@ ath9k_hw_set_channel(struct ath_hal *ah, struct ath9k_channel *chan) | |||
52 | bModeSynth = 1; | 52 | bModeSynth = 1; |
53 | } else { | 53 | } else { |
54 | DPRINTF(ah->ah_sc, ATH_DBG_CHANNEL, | 54 | DPRINTF(ah->ah_sc, ATH_DBG_CHANNEL, |
55 | "%s: invalid channel %u MHz\n", __func__, | 55 | "Invalid channel %u MHz\n", freq); |
56 | freq); | ||
57 | return false; | 56 | return false; |
58 | } | 57 | } |
59 | 58 | ||
@@ -86,7 +85,7 @@ ath9k_hw_set_channel(struct ath_hal *ah, struct ath9k_channel *chan) | |||
86 | aModeRefSel = ath9k_hw_reverse_bits(1, 2); | 85 | aModeRefSel = ath9k_hw_reverse_bits(1, 2); |
87 | } else { | 86 | } else { |
88 | DPRINTF(ah->ah_sc, ATH_DBG_CHANNEL, | 87 | DPRINTF(ah->ah_sc, ATH_DBG_CHANNEL, |
89 | "%s: invalid channel %u MHz\n", __func__, freq); | 88 | "Invalid channel %u MHz\n", freq); |
90 | return false; | 89 | return false; |
91 | } | 90 | } |
92 | 91 | ||
@@ -348,8 +347,7 @@ bool ath9k_hw_init_rf(struct ath_hal *ah, int *status) | |||
348 | || ahp->ah_analogBank6TPCData == NULL | 347 | || ahp->ah_analogBank6TPCData == NULL |
349 | || ahp->ah_analogBank7Data == NULL) { | 348 | || ahp->ah_analogBank7Data == NULL) { |
350 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, | 349 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, |
351 | "%s: cannot allocate RF banks\n", | 350 | "Cannot allocate RF banks\n"); |
352 | __func__); | ||
353 | *status = -ENOMEM; | 351 | *status = -ENOMEM; |
354 | return false; | 352 | return false; |
355 | } | 353 | } |
@@ -360,8 +358,7 @@ bool ath9k_hw_init_rf(struct ath_hal *ah, int *status) | |||
360 | ahp->ah_iniAddac.ia_columns), GFP_KERNEL); | 358 | ahp->ah_iniAddac.ia_columns), GFP_KERNEL); |
361 | if (ahp->ah_addac5416_21 == NULL) { | 359 | if (ahp->ah_addac5416_21 == NULL) { |
362 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, | 360 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, |
363 | "%s: cannot allocate ah_addac5416_21\n", | 361 | "Cannot allocate ah_addac5416_21\n"); |
364 | __func__); | ||
365 | *status = -ENOMEM; | 362 | *status = -ENOMEM; |
366 | return false; | 363 | return false; |
367 | } | 364 | } |
@@ -371,8 +368,7 @@ bool ath9k_hw_init_rf(struct ath_hal *ah, int *status) | |||
371 | ahp->ah_iniBank6.ia_rows), GFP_KERNEL); | 368 | ahp->ah_iniBank6.ia_rows), GFP_KERNEL); |
372 | if (ahp->ah_bank6Temp == NULL) { | 369 | if (ahp->ah_bank6Temp == NULL) { |
373 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, | 370 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, |
374 | "%s: cannot allocate ah_bank6Temp\n", | 371 | "Cannot allocate ah_bank6Temp\n"); |
375 | __func__); | ||
376 | *status = -ENOMEM; | 372 | *status = -ENOMEM; |
377 | return false; | 373 | return false; |
378 | } | 374 | } |