diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-05-04 22:22:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-14 16:29:47 -0400 |
commit | 164669032ecbf7c9a3bc78adad4e13ee486e975c (patch) | |
tree | abd5e1b801267a207effcd604889cca9b246e1a2 | |
parent | d67f5489d8d9be09bc8e1615ec6c57c3120a731d (diff) |
iwlwifi: remove 4965 prefix from iwl4965_kw and iwl4965_tx_queue
This patch removes the 4965 prefix to form iwl_kw and iwl_tx_queue structs,
as they are used mostly in iwlcore now.
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 14 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 11 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 14 |
7 files changed, 28 insertions, 29 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index a475ecea9003..126ecf7023eb 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -880,7 +880,7 @@ static void iwl4965_set_wr_ptrs(struct iwl_priv *priv, int txq_id, u32 index) | |||
880 | * NOTE: Acquire priv->lock before calling this function ! | 880 | * NOTE: Acquire priv->lock before calling this function ! |
881 | */ | 881 | */ |
882 | static void iwl4965_tx_queue_set_status(struct iwl_priv *priv, | 882 | static void iwl4965_tx_queue_set_status(struct iwl_priv *priv, |
883 | struct iwl4965_tx_queue *txq, | 883 | struct iwl_tx_queue *txq, |
884 | int tx_fifo_id, int scd_retry) | 884 | int tx_fifo_id, int scd_retry) |
885 | { | 885 | { |
886 | int txq_id = txq->q.id; | 886 | int txq_id = txq->q.id; |
@@ -2111,7 +2111,7 @@ static void iwl4965_free_shared_mem(struct iwl_priv *priv) | |||
2111 | * iwl4965_txq_update_byte_cnt_tbl - Set up entry in Tx byte-count array | 2111 | * iwl4965_txq_update_byte_cnt_tbl - Set up entry in Tx byte-count array |
2112 | */ | 2112 | */ |
2113 | static void iwl4965_txq_update_byte_cnt_tbl(struct iwl_priv *priv, | 2113 | static void iwl4965_txq_update_byte_cnt_tbl(struct iwl_priv *priv, |
2114 | struct iwl4965_tx_queue *txq, | 2114 | struct iwl_tx_queue *txq, |
2115 | u16 byte_cnt) | 2115 | u16 byte_cnt) |
2116 | { | 2116 | { |
2117 | int len; | 2117 | int len; |
@@ -3286,7 +3286,7 @@ static void iwl4965_rx_reply_compressed_ba(struct iwl_priv *priv, | |||
3286 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; | 3286 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; |
3287 | struct iwl4965_compressed_ba_resp *ba_resp = &pkt->u.compressed_ba; | 3287 | struct iwl4965_compressed_ba_resp *ba_resp = &pkt->u.compressed_ba; |
3288 | int index; | 3288 | int index; |
3289 | struct iwl4965_tx_queue *txq = NULL; | 3289 | struct iwl_tx_queue *txq = NULL; |
3290 | struct iwl_ht_agg *agg; | 3290 | struct iwl_ht_agg *agg; |
3291 | DECLARE_MAC_BUF(mac); | 3291 | DECLARE_MAC_BUF(mac); |
3292 | 3292 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index d6b91f7e0b1b..43b4d20467de 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -386,7 +386,7 @@ static int iwl5000_shared_mem_rx_idx(struct iwl_priv *priv) | |||
386 | * iwl5000_txq_update_byte_cnt_tbl - Set up entry in Tx byte-count array | 386 | * iwl5000_txq_update_byte_cnt_tbl - Set up entry in Tx byte-count array |
387 | */ | 387 | */ |
388 | static void iwl5000_txq_update_byte_cnt_tbl(struct iwl_priv *priv, | 388 | static void iwl5000_txq_update_byte_cnt_tbl(struct iwl_priv *priv, |
389 | struct iwl4965_tx_queue *txq, | 389 | struct iwl_tx_queue *txq, |
390 | u16 byte_cnt) | 390 | u16 byte_cnt) |
391 | { | 391 | { |
392 | struct iwl5000_shared *shared_data = priv->shared_virt; | 392 | struct iwl5000_shared *shared_data = priv->shared_virt; |
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 4ba860741f81..aab0ee6d8af4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -143,9 +143,9 @@ out: | |||
143 | int iwl_kw_alloc(struct iwl_priv *priv) | 143 | int iwl_kw_alloc(struct iwl_priv *priv) |
144 | { | 144 | { |
145 | struct pci_dev *dev = priv->pci_dev; | 145 | struct pci_dev *dev = priv->pci_dev; |
146 | struct iwl4965_kw *kw = &priv->kw; | 146 | struct iwl_kw *kw = &priv->kw; |
147 | 147 | ||
148 | kw->size = IWL4965_KW_SIZE; /* TBW need set somewhere else */ | 148 | kw->size = IWL_KW_SIZE; |
149 | kw->v_addr = pci_alloc_consistent(dev, kw->size, &kw->dma_addr); | 149 | kw->v_addr = pci_alloc_consistent(dev, kw->size, &kw->dma_addr); |
150 | if (!kw->v_addr) | 150 | if (!kw->v_addr) |
151 | return -ENOMEM; | 151 | return -ENOMEM; |
@@ -159,7 +159,7 @@ int iwl_kw_alloc(struct iwl_priv *priv) | |||
159 | void iwl_kw_free(struct iwl_priv *priv) | 159 | void iwl_kw_free(struct iwl_priv *priv) |
160 | { | 160 | { |
161 | struct pci_dev *dev = priv->pci_dev; | 161 | struct pci_dev *dev = priv->pci_dev; |
162 | struct iwl4965_kw *kw = &priv->kw; | 162 | struct iwl_kw *kw = &priv->kw; |
163 | 163 | ||
164 | if (kw->v_addr) { | 164 | if (kw->v_addr) { |
165 | pci_free_consistent(dev, kw->size, kw->v_addr, kw->dma_addr); | 165 | pci_free_consistent(dev, kw->size, kw->v_addr, kw->dma_addr); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h index 77428db6a21d..83fe0cbf6aee 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.h +++ b/drivers/net/wireless/iwlwifi/iwl-core.h | |||
@@ -105,7 +105,7 @@ struct iwl_lib_ops { | |||
105 | void (*free_shared_mem)(struct iwl_priv *priv); | 105 | void (*free_shared_mem)(struct iwl_priv *priv); |
106 | int (*shared_mem_rx_idx)(struct iwl_priv *priv); | 106 | int (*shared_mem_rx_idx)(struct iwl_priv *priv); |
107 | void (*txq_update_byte_cnt_tbl)(struct iwl_priv *priv, | 107 | void (*txq_update_byte_cnt_tbl)(struct iwl_priv *priv, |
108 | struct iwl4965_tx_queue *txq, | 108 | struct iwl_tx_queue *txq, |
109 | u16 byte_cnt); | 109 | u16 byte_cnt); |
110 | /* setup Rx handler */ | 110 | /* setup Rx handler */ |
111 | void (*rx_handler_setup)(struct iwl_priv *priv); | 111 | void (*rx_handler_setup)(struct iwl_priv *priv); |
@@ -207,7 +207,7 @@ void iwl_rx_allocate(struct iwl_priv *priv); | |||
207 | ******************************************************/ | 207 | ******************************************************/ |
208 | int iwl_txq_ctx_reset(struct iwl_priv *priv); | 208 | int iwl_txq_ctx_reset(struct iwl_priv *priv); |
209 | /* FIXME: remove when free Tx is fully merged into iwlcore */ | 209 | /* FIXME: remove when free Tx is fully merged into iwlcore */ |
210 | int iwl_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl4965_tx_queue *txq); | 210 | int iwl_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl_tx_queue *txq); |
211 | void iwl_hw_txq_ctx_free(struct iwl_priv *priv); | 211 | void iwl_hw_txq_ctx_free(struct iwl_priv *priv); |
212 | 212 | ||
213 | /***************************************************** | 213 | /***************************************************** |
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 1683bee800d1..5dccc5a8fa94 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -124,7 +124,7 @@ struct iwl4965_tx_info { | |||
124 | }; | 124 | }; |
125 | 125 | ||
126 | /** | 126 | /** |
127 | * struct iwl4965_tx_queue - Tx Queue for DMA | 127 | * struct iwl_tx_queue - Tx Queue for DMA |
128 | * @q: generic Rx/Tx queue descriptor | 128 | * @q: generic Rx/Tx queue descriptor |
129 | * @bd: base of circular buffer of TFDs | 129 | * @bd: base of circular buffer of TFDs |
130 | * @cmd: array of command/Tx buffers | 130 | * @cmd: array of command/Tx buffers |
@@ -136,7 +136,7 @@ struct iwl4965_tx_info { | |||
136 | * A Tx queue consists of circular buffer of BDs (a.k.a. TFDs, transmit frame | 136 | * A Tx queue consists of circular buffer of BDs (a.k.a. TFDs, transmit frame |
137 | * descriptors) and required locking structures. | 137 | * descriptors) and required locking structures. |
138 | */ | 138 | */ |
139 | struct iwl4965_tx_queue { | 139 | struct iwl_tx_queue { |
140 | struct iwl4965_queue q; | 140 | struct iwl4965_queue q; |
141 | struct iwl_tfd_frame *bd; | 141 | struct iwl_tfd_frame *bd; |
142 | struct iwl_cmd *cmd; | 142 | struct iwl_cmd *cmd; |
@@ -729,7 +729,7 @@ extern void iwl4965_radio_kill_sw(struct iwl_priv *priv, int disable_radio); | |||
729 | * Forward declare iwl-4965.c functions for iwl-base.c | 729 | * Forward declare iwl-4965.c functions for iwl-base.c |
730 | */ | 730 | */ |
731 | extern int iwl4965_tx_queue_update_wr_ptr(struct iwl_priv *priv, | 731 | extern int iwl4965_tx_queue_update_wr_ptr(struct iwl_priv *priv, |
732 | struct iwl4965_tx_queue *txq, | 732 | struct iwl_tx_queue *txq, |
733 | u16 byte_cnt); | 733 | u16 byte_cnt); |
734 | extern void iwl4965_add_station(struct iwl_priv *priv, const u8 *addr, | 734 | extern void iwl4965_add_station(struct iwl_priv *priv, const u8 *addr, |
735 | int is_ap); | 735 | int is_ap); |
@@ -761,9 +761,9 @@ static inline void iwl4965_init_ht_hw_capab(const struct iwl_priv *priv, | |||
761 | #endif /*CONFIG_IWL4965_HT */ | 761 | #endif /*CONFIG_IWL4965_HT */ |
762 | /* Structures, enum, and defines specific to the 4965 */ | 762 | /* Structures, enum, and defines specific to the 4965 */ |
763 | 763 | ||
764 | #define IWL4965_KW_SIZE 0x1000 /*4k */ | 764 | #define IWL_KW_SIZE 0x1000 /*4k */ |
765 | 765 | ||
766 | struct iwl4965_kw { | 766 | struct iwl_kw { |
767 | dma_addr_t dma_addr; | 767 | dma_addr_t dma_addr; |
768 | void *v_addr; | 768 | void *v_addr; |
769 | size_t size; | 769 | size_t size; |
@@ -1061,9 +1061,9 @@ struct iwl_priv { | |||
1061 | 1061 | ||
1062 | /* Rx and Tx DMA processing queues */ | 1062 | /* Rx and Tx DMA processing queues */ |
1063 | struct iwl_rx_queue rxq; | 1063 | struct iwl_rx_queue rxq; |
1064 | struct iwl4965_tx_queue txq[IWL_MAX_NUM_QUEUES]; | 1064 | struct iwl_tx_queue txq[IWL_MAX_NUM_QUEUES]; |
1065 | unsigned long txq_ctx_active_msk; | 1065 | unsigned long txq_ctx_active_msk; |
1066 | struct iwl4965_kw kw; /* keep warm address */ | 1066 | struct iwl_kw kw; /* keep warm address */ |
1067 | u32 scd_base_addr; /* scheduler sram base address */ | 1067 | u32 scd_base_addr; /* scheduler sram base address */ |
1068 | 1068 | ||
1069 | unsigned long status; | 1069 | unsigned long status; |
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index ade247e63106..a1e03ccd5147 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c | |||
@@ -41,7 +41,7 @@ | |||
41 | * Does NOT advance any TFD circular buffer read/write indexes | 41 | * Does NOT advance any TFD circular buffer read/write indexes |
42 | * Does NOT free the TFD itself (which is within circular buffer) | 42 | * Does NOT free the TFD itself (which is within circular buffer) |
43 | */ | 43 | */ |
44 | int iwl_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl4965_tx_queue *txq) | 44 | int iwl_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl_tx_queue *txq) |
45 | { | 45 | { |
46 | struct iwl_tfd_frame *bd_tmp = (struct iwl_tfd_frame *)&txq->bd[0]; | 46 | struct iwl_tfd_frame *bd_tmp = (struct iwl_tfd_frame *)&txq->bd[0]; |
47 | struct iwl_tfd_frame *bd = &bd_tmp[txq->q.read_ptr]; | 47 | struct iwl_tfd_frame *bd = &bd_tmp[txq->q.read_ptr]; |
@@ -103,8 +103,7 @@ EXPORT_SYMBOL(iwl_hw_txq_free_tfd); | |||
103 | * Free all buffers. | 103 | * Free all buffers. |
104 | * 0-fill, but do not free "txq" descriptor structure. | 104 | * 0-fill, but do not free "txq" descriptor structure. |
105 | */ | 105 | */ |
106 | static void iwl_tx_queue_free(struct iwl_priv *priv, | 106 | static void iwl_tx_queue_free(struct iwl_priv *priv, struct iwl_tx_queue *txq) |
107 | struct iwl4965_tx_queue *txq) | ||
108 | { | 107 | { |
109 | struct iwl4965_queue *q = &txq->q; | 108 | struct iwl4965_queue *q = &txq->q; |
110 | struct pci_dev *dev = priv->pci_dev; | 109 | struct pci_dev *dev = priv->pci_dev; |
@@ -191,7 +190,7 @@ static int iwl_queue_init(struct iwl_priv *priv, struct iwl4965_queue *q, | |||
191 | * iwl_tx_queue_alloc - Alloc driver data and TFD CB for one Tx/cmd queue | 190 | * iwl_tx_queue_alloc - Alloc driver data and TFD CB for one Tx/cmd queue |
192 | */ | 191 | */ |
193 | static int iwl_tx_queue_alloc(struct iwl_priv *priv, | 192 | static int iwl_tx_queue_alloc(struct iwl_priv *priv, |
194 | struct iwl4965_tx_queue *txq, u32 id) | 193 | struct iwl_tx_queue *txq, u32 id) |
195 | { | 194 | { |
196 | struct pci_dev *dev = priv->pci_dev; | 195 | struct pci_dev *dev = priv->pci_dev; |
197 | 196 | ||
@@ -238,7 +237,7 @@ static int iwl_tx_queue_alloc(struct iwl_priv *priv, | |||
238 | * channels supported in hardware. | 237 | * channels supported in hardware. |
239 | */ | 238 | */ |
240 | static int iwl_hw_tx_queue_init(struct iwl_priv *priv, | 239 | static int iwl_hw_tx_queue_init(struct iwl_priv *priv, |
241 | struct iwl4965_tx_queue *txq) | 240 | struct iwl_tx_queue *txq) |
242 | { | 241 | { |
243 | int rc; | 242 | int rc; |
244 | unsigned long flags; | 243 | unsigned long flags; |
@@ -270,7 +269,7 @@ static int iwl_hw_tx_queue_init(struct iwl_priv *priv, | |||
270 | * iwl_tx_queue_init - Allocate and initialize one tx/cmd queue | 269 | * iwl_tx_queue_init - Allocate and initialize one tx/cmd queue |
271 | */ | 270 | */ |
272 | static int iwl_tx_queue_init(struct iwl_priv *priv, | 271 | static int iwl_tx_queue_init(struct iwl_priv *priv, |
273 | struct iwl4965_tx_queue *txq, | 272 | struct iwl_tx_queue *txq, |
274 | int slots_num, u32 txq_id) | 273 | int slots_num, u32 txq_id) |
275 | { | 274 | { |
276 | struct pci_dev *dev = priv->pci_dev; | 275 | struct pci_dev *dev = priv->pci_dev; |
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 09f2a6383d2d..45bbce7f66a4 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #include "iwl-calib.h" | 54 | #include "iwl-calib.h" |
55 | 55 | ||
56 | static int iwl4965_tx_queue_update_write_ptr(struct iwl_priv *priv, | 56 | static int iwl4965_tx_queue_update_write_ptr(struct iwl_priv *priv, |
57 | struct iwl4965_tx_queue *txq); | 57 | struct iwl_tx_queue *txq); |
58 | 58 | ||
59 | /****************************************************************************** | 59 | /****************************************************************************** |
60 | * | 60 | * |
@@ -347,7 +347,7 @@ u8 iwl4965_add_station_flags(struct iwl_priv *priv, const u8 *addr, | |||
347 | */ | 347 | */ |
348 | int iwl4965_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd) | 348 | int iwl4965_enqueue_hcmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd) |
349 | { | 349 | { |
350 | struct iwl4965_tx_queue *txq = &priv->txq[IWL_CMD_QUEUE_NUM]; | 350 | struct iwl_tx_queue *txq = &priv->txq[IWL_CMD_QUEUE_NUM]; |
351 | struct iwl4965_queue *q = &txq->q; | 351 | struct iwl4965_queue *q = &txq->q; |
352 | struct iwl_tfd_frame *tfd; | 352 | struct iwl_tfd_frame *tfd; |
353 | u32 *control_flags; | 353 | u32 *control_flags; |
@@ -1767,7 +1767,7 @@ static int iwl4965_tx_skb(struct iwl_priv *priv, | |||
1767 | struct iwl_tfd_frame *tfd; | 1767 | struct iwl_tfd_frame *tfd; |
1768 | u32 *control_flags; | 1768 | u32 *control_flags; |
1769 | int txq_id = ctl->queue; | 1769 | int txq_id = ctl->queue; |
1770 | struct iwl4965_tx_queue *txq = NULL; | 1770 | struct iwl_tx_queue *txq = NULL; |
1771 | struct iwl4965_queue *q = NULL; | 1771 | struct iwl4965_queue *q = NULL; |
1772 | dma_addr_t phys_addr; | 1772 | dma_addr_t phys_addr; |
1773 | dma_addr_t txcmd_phys; | 1773 | dma_addr_t txcmd_phys; |
@@ -2331,7 +2331,7 @@ static void iwl4965_txstatus_to_ieee(struct iwl_priv *priv, | |||
2331 | */ | 2331 | */ |
2332 | int iwl4965_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index) | 2332 | int iwl4965_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index) |
2333 | { | 2333 | { |
2334 | struct iwl4965_tx_queue *txq = &priv->txq[txq_id]; | 2334 | struct iwl_tx_queue *txq = &priv->txq[txq_id]; |
2335 | struct iwl4965_queue *q = &txq->q; | 2335 | struct iwl4965_queue *q = &txq->q; |
2336 | int nfreed = 0; | 2336 | int nfreed = 0; |
2337 | 2337 | ||
@@ -2531,7 +2531,7 @@ static void iwl4965_rx_reply_tx(struct iwl_priv *priv, | |||
2531 | u16 sequence = le16_to_cpu(pkt->hdr.sequence); | 2531 | u16 sequence = le16_to_cpu(pkt->hdr.sequence); |
2532 | int txq_id = SEQ_TO_QUEUE(sequence); | 2532 | int txq_id = SEQ_TO_QUEUE(sequence); |
2533 | int index = SEQ_TO_INDEX(sequence); | 2533 | int index = SEQ_TO_INDEX(sequence); |
2534 | struct iwl4965_tx_queue *txq = &priv->txq[txq_id]; | 2534 | struct iwl_tx_queue *txq = &priv->txq[txq_id]; |
2535 | struct ieee80211_tx_status *tx_status; | 2535 | struct ieee80211_tx_status *tx_status; |
2536 | struct iwl4965_tx_resp *tx_resp = (void *)&pkt->u.raw[0]; | 2536 | struct iwl4965_tx_resp *tx_resp = (void *)&pkt->u.raw[0]; |
2537 | u32 status = le32_to_cpu(tx_resp->status); | 2537 | u32 status = le32_to_cpu(tx_resp->status); |
@@ -3273,7 +3273,7 @@ int iwl4965_calc_sig_qual(int rssi_dbm, int noise_dbm) | |||
3273 | * iwl4965_tx_queue_update_write_ptr - Send new write index to hardware | 3273 | * iwl4965_tx_queue_update_write_ptr - Send new write index to hardware |
3274 | */ | 3274 | */ |
3275 | static int iwl4965_tx_queue_update_write_ptr(struct iwl_priv *priv, | 3275 | static int iwl4965_tx_queue_update_write_ptr(struct iwl_priv *priv, |
3276 | struct iwl4965_tx_queue *txq) | 3276 | struct iwl_tx_queue *txq) |
3277 | { | 3277 | { |
3278 | u32 reg = 0; | 3278 | u32 reg = 0; |
3279 | int rc = 0; | 3279 | int rc = 0; |
@@ -5783,7 +5783,7 @@ static int iwl4965_mac_get_tx_stats(struct ieee80211_hw *hw, | |||
5783 | { | 5783 | { |
5784 | struct iwl_priv *priv = hw->priv; | 5784 | struct iwl_priv *priv = hw->priv; |
5785 | int i, avail; | 5785 | int i, avail; |
5786 | struct iwl4965_tx_queue *txq; | 5786 | struct iwl_tx_queue *txq; |
5787 | struct iwl4965_queue *q; | 5787 | struct iwl4965_queue *q; |
5788 | unsigned long flags; | 5788 | unsigned long flags; |
5789 | 5789 | ||