Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170585
b: refs/heads/master
c: 3ca3403
h: refs/heads/master
i:
  170583: 294d4c7
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Oct 7, 2009
1 parent 7c03e25 commit 5ca2470
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7322fd19295fa7f7d954a19a5f0b77687d441846
refs/heads/master: 3ca340381a1da26906dc766a1e4f8a5d0a613189
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -900,8 +900,12 @@ int ath9k_hw_init(struct ath_hw *ah)
struct ath_common *common = ath9k_hw_common(ah);
int r = 0;

if (!ath9k_hw_devid_supported(ah->hw_version.devid))
if (!ath9k_hw_devid_supported(ah->hw_version.devid)) {
ath_print(common, ATH_DBG_FATAL,
"Unsupported device ID: 0x%0x\n",
ah->hw_version.devid);
return -EOPNOTSUPP;
}

ath9k_hw_init_defaults(ah);
ath9k_hw_init_config(ah);
Expand Down

0 comments on commit 5ca2470

Please sign in to comment.