commit 5875b4d8b6f3cbfd5498edecdf8b20cc3f339522 Author: Jiri Slaby Date: Mon Jul 16 09:01:32 2007 +0200 some capability cleanup diff --git a/ath5k.h b/ath5k.h index d89245e..83b2f43 100644 --- a/ath5k.h +++ b/ath5k.h @@ -1071,7 +1071,6 @@ enum ath5k_rfgain ath5k_hw_get_rf_gain(struct ath_hw *hal); int ath5k_hw_set_txpower_limit(struct ath_hw *hal, unsigned int power); void ath5k_hw_dump_state(struct ath_hw *hal); int ath5k_hw_get_capability(struct ath_hw *hal, enum ath5k_capability_type cap_type,u32 capability, u32 *result); -int ath5k_hw_set_capability(struct ath_hw *hal, enum ath5k_capability_type cap_type, u32 capability, u32 setting); bool ath5k_hw_query_pspoll_support(struct ath_hw *hal); bool ath5k_hw_enable_pspoll(struct ath_hw *hal, u8 *bssid, u16 assoc_id); bool ath5k_hw_disable_pspoll(struct ath_hw *hal); diff --git a/ath5k_hw.c b/ath5k_hw.c index 00faf4d..963b695 100644 --- a/ath5k_hw.c +++ b/ath5k_hw.c @@ -5698,11 +5698,6 @@ int ath5k_hw_get_capability(struct ath_hw *hal, AR5K_TRACE; switch (cap_type) { - case AR5K_CAP_REG_DMN: - if (result){ - *result = ath5k_get_regdomain(hal); - goto yes; - } case AR5K_CAP_NUM_TXQUEUES: if (result) { if (hal->ah_version == AR5K_AR5210) @@ -5743,15 +5738,6 @@ int ath5k_hw_get_capability(struct ath_hw *hal, } -int ath5k_hw_set_capability(struct ath_hw *hal, - enum ath5k_capability_type cap_type, - u32 capability, u32 setting) -{ - AR5K_TRACE; - - return 0; -} - bool ath5k_hw_query_pspoll_support(struct ath_hw *hal) {