aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-4965.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-4965.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-4965.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965.c b/drivers/net/wireless/iwlegacy/iwl-4965.c
index f62475de7591..58bdf9302987 100644
--- a/drivers/net/wireless/iwlegacy/iwl-4965.c
+++ b/drivers/net/wireless/iwlegacy/iwl-4965.c
@@ -632,9 +632,9 @@ static s32 get_min_power_index(s32 rate_power_index, u32 band)
632{ 632{
633 if (!band) { 633 if (!band) {
634 if ((rate_power_index & 7) <= 4) 634 if ((rate_power_index & 7) <= 4)
635 return MIN_TX_GAIN_INDEX_52GHZ_EXT; 635 return MIN_TX_GAIN_IDX_52GHZ_EXT;
636 } 636 }
637 return MIN_TX_GAIN_INDEX; 637 return MIN_TX_GAIN_IDX;
638} 638}
639 639
640struct gain_entry { 640struct gain_entry {
@@ -1654,7 +1654,7 @@ static int il4965_tx_status_reply_tx(struct il_priv *il,
1654 u16 sc; 1654 u16 sc;
1655 status = le16_to_cpu(frame_status[i].status); 1655 status = le16_to_cpu(frame_status[i].status);
1656 seq = le16_to_cpu(frame_status[i].sequence); 1656 seq = le16_to_cpu(frame_status[i].sequence);
1657 idx = SEQ_TO_INDEX(seq); 1657 idx = SEQ_TO_IDX(seq);
1658 txq_id = SEQ_TO_QUEUE(seq); 1658 txq_id = SEQ_TO_QUEUE(seq);
1659 1659
1660 if (status & (AGG_TX_STATE_FEW_BYTES_MSK | 1660 if (status & (AGG_TX_STATE_FEW_BYTES_MSK |
@@ -1777,7 +1777,7 @@ static void il4965_rx_reply_tx(struct il_priv *il,
1777 struct il_rx_pkt *pkt = rxb_addr(rxb); 1777 struct il_rx_pkt *pkt = rxb_addr(rxb);
1778 u16 sequence = le16_to_cpu(pkt->hdr.sequence); 1778 u16 sequence = le16_to_cpu(pkt->hdr.sequence);
1779 int txq_id = SEQ_TO_QUEUE(sequence); 1779 int txq_id = SEQ_TO_QUEUE(sequence);
1780 int index = SEQ_TO_INDEX(sequence); 1780 int index = SEQ_TO_IDX(sequence);
1781 struct il_tx_queue *txq = &il->txq[txq_id]; 1781 struct il_tx_queue *txq = &il->txq[txq_id];
1782 struct ieee80211_hdr *hdr; 1782 struct ieee80211_hdr *hdr;
1783 struct ieee80211_tx_info *info; 1783 struct ieee80211_tx_info *info;