ath9k: rename ath_btcoex_supported() to ath9k_hw_btcoex_supported()

Also just pass the ath_hw as the parameter.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Esse commit está contido em:
Luis R. Rodriguez
2009-09-09 16:05:32 -07:00
commit de John W. Linville
commit a36cfbca21
3 arquivos alterados com 5 adições e 5 exclusões

Ver arquivo

@@ -45,15 +45,15 @@ static const u16 ath_subsysid_tbl[] = {
* Checks the subsystem id of the device to see if it
* supports btcoex
*/
bool ath_btcoex_supported(u16 subsysid)
bool ath9k_hw_btcoex_supported(struct ath_hw *ah)
{
int i;
if (!subsysid)
if (!ah->hw_version.subsysid)
return false;
for (i = 0; i < ARRAY_SIZE(ath_subsysid_tbl); i++)
if (subsysid == ath_subsysid_tbl[i])
if (ah->hw_version.subsysid == ath_subsysid_tbl[i])
return true;
return false;