diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-10 21:04:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:28 -0400 |
commit | 9adca126dbf4bf099bc7051deb6b566725a046dc (patch) | |
tree | de3eaed32a5d460b50cf4f0d465a4384eb2ba551 /drivers/net/wireless/ath/ath.h | |
parent | 9e4bffd233f27fe83fc48efb01935aee7d0685bf (diff) |
ath5k: allocate ath5k_hw prior to initializing hw
We can propagate better errors upon failed hw initialization,
and set up the ath_common structure for attach purposes. This
will become important once we start using the ath_common
for read/write ops.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r-- | drivers/net/wireless/ath/ath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h index 38be4279affc..be68cb8cf705 100644 --- a/drivers/net/wireless/ath/ath.h +++ b/drivers/net/wireless/ath/ath.h | |||
@@ -51,7 +51,7 @@ struct ath_common { | |||
51 | u8 curbssid[ETH_ALEN]; | 51 | u8 curbssid[ETH_ALEN]; |
52 | u8 bssidmask[ETH_ALEN]; | 52 | u8 bssidmask[ETH_ALEN]; |
53 | struct ath_regulatory regulatory; | 53 | struct ath_regulatory regulatory; |
54 | struct ath_ops *ops; | 54 | const struct ath_ops *ops; |
55 | }; | 55 | }; |
56 | 56 | ||
57 | struct sk_buff *ath_rxbuf_alloc(struct ath_common *common, | 57 | struct sk_buff *ath_rxbuf_alloc(struct ath_common *common, |