aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/hw.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-03-30 05:58:28 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:30 -0400
commiteef7a57430c83b0419ba943bb1650ed5c349d454 (patch)
treefe94931593ceed4605055220feb364a056c63cf5 /drivers/net/wireless/ath9k/hw.h
parentd8baa9392666d1c50ef42e9f6fbbb0cf536327b9 (diff)
ath9k: Change return value of ath9k_hw_fill_cap_info
This routine always return true, checking for false in the return value is invalid. Fix this. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath9k/hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/hw.h b/drivers/net/wireless/ath9k/hw.h
index 5ba6a4b60356..c50faae22c59 100644
--- a/drivers/net/wireless/ath9k/hw.h
+++ b/drivers/net/wireless/ath9k/hw.h
@@ -557,7 +557,7 @@ struct ath_hw *ath9k_hw_attach(u16 devid, struct ath_softc *sc, int *error);
557void ath9k_hw_rfdetach(struct ath_hw *ah); 557void ath9k_hw_rfdetach(struct ath_hw *ah);
558int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, 558int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
559 bool bChannelChange); 559 bool bChannelChange);
560bool ath9k_hw_fill_cap_info(struct ath_hw *ah); 560void ath9k_hw_fill_cap_info(struct ath_hw *ah);
561bool ath9k_hw_getcapability(struct ath_hw *ah, enum ath9k_capability_type type, 561bool ath9k_hw_getcapability(struct ath_hw *ah, enum ath9k_capability_type type,
562 u32 capability, u32 *result); 562 u32 capability, u32 *result);
563bool ath9k_hw_setcapability(struct ath_hw *ah, enum ath9k_capability_type type, 563bool ath9k_hw_setcapability(struct ath_hw *ah, enum ath9k_capability_type type,