diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-09 02:57:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:45:05 -0500 |
commit | cbe61d8a41210600bc76b212edcd4dc0f55c014f (patch) | |
tree | d8bd8e43d3556c58d410f1bef0d2ca3bf7d75c92 /drivers/net/wireless/ath9k/recv.c | |
parent | ba52da58be0acf3b7775972b2b5234ce64388c79 (diff) |
ath9k: Merge ath_hal and ath_hal_5416 structures
Finally, merge these structures and have a single
HW specific data structure.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath9k/recv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c index c51c085f55d6..7c011b1ba333 100644 --- a/drivers/net/wireless/ath9k/recv.c +++ b/drivers/net/wireless/ath9k/recv.c | |||
@@ -26,7 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | static void ath_rx_buf_link(struct ath_softc *sc, struct ath_buf *bf) | 27 | static void ath_rx_buf_link(struct ath_softc *sc, struct ath_buf *bf) |
28 | { | 28 | { |
29 | struct ath_hal *ah = sc->sc_ah; | 29 | struct ath_hw *ah = sc->sc_ah; |
30 | struct ath_desc *ds; | 30 | struct ath_desc *ds; |
31 | struct sk_buff *skb; | 31 | struct sk_buff *skb; |
32 | 32 | ||
@@ -233,7 +233,7 @@ rx_next: | |||
233 | 233 | ||
234 | static void ath_opmode_init(struct ath_softc *sc) | 234 | static void ath_opmode_init(struct ath_softc *sc) |
235 | { | 235 | { |
236 | struct ath_hal *ah = sc->sc_ah; | 236 | struct ath_hw *ah = sc->sc_ah; |
237 | u32 rfilt, mfilt[2]; | 237 | u32 rfilt, mfilt[2]; |
238 | 238 | ||
239 | /* configure rx filter */ | 239 | /* configure rx filter */ |
@@ -391,7 +391,7 @@ u32 ath_calcrxfilter(struct ath_softc *sc) | |||
391 | 391 | ||
392 | int ath_startrecv(struct ath_softc *sc) | 392 | int ath_startrecv(struct ath_softc *sc) |
393 | { | 393 | { |
394 | struct ath_hal *ah = sc->sc_ah; | 394 | struct ath_hw *ah = sc->sc_ah; |
395 | struct ath_buf *bf, *tbf; | 395 | struct ath_buf *bf, *tbf; |
396 | 396 | ||
397 | spin_lock_bh(&sc->rx.rxbuflock); | 397 | spin_lock_bh(&sc->rx.rxbuflock); |
@@ -421,7 +421,7 @@ start_recv: | |||
421 | 421 | ||
422 | bool ath_stoprecv(struct ath_softc *sc) | 422 | bool ath_stoprecv(struct ath_softc *sc) |
423 | { | 423 | { |
424 | struct ath_hal *ah = sc->sc_ah; | 424 | struct ath_hw *ah = sc->sc_ah; |
425 | bool stopped; | 425 | bool stopped; |
426 | 426 | ||
427 | ath9k_hw_stoppcurecv(ah); | 427 | ath9k_hw_stoppcurecv(ah); |
@@ -452,7 +452,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush) | |||
452 | struct ath_desc *ds; | 452 | struct ath_desc *ds; |
453 | struct sk_buff *skb = NULL, *requeue_skb; | 453 | struct sk_buff *skb = NULL, *requeue_skb; |
454 | struct ieee80211_rx_status rx_status; | 454 | struct ieee80211_rx_status rx_status; |
455 | struct ath_hal *ah = sc->sc_ah; | 455 | struct ath_hw *ah = sc->sc_ah; |
456 | struct ieee80211_hdr *hdr; | 456 | struct ieee80211_hdr *hdr; |
457 | int hdrlen, padsize, retval; | 457 | int hdrlen, padsize, retval; |
458 | bool decrypt_error = false; | 458 | bool decrypt_error = false; |