summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath5k/desc.c
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-06-16 10:12:22 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2010-06-16 18:59:06 (GMT)
commit2237e928840c9a1d8bc5143daf28c419d9ca0bda (patch)
tree84656763a70475c880201140268470dfb025bcfb /drivers/net/wireless/ath/ath5k/desc.c
parent03417bc605ef03cd851f13e36581cf2e1304755d (diff)
downloadlinux-fsl-qoriq-2237e928840c9a1d8bc5143daf28c419d9ca0bda.tar.xz
ath5k: update 5210/5211 frame types
Update 5210 frame types to match the HAL. We have to apply the same bitshift to the constants as we use later. Add 5211 specific frame types. Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/desc.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/desc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/desc.c b/drivers/net/wireless/ath/ath5k/desc.c
index 41a490e4..f1f1a22 100644
--- a/drivers/net/wireless/ath/ath5k/desc.c
+++ b/drivers/net/wireless/ath/ath5k/desc.c
@@ -110,7 +110,7 @@ ath5k_hw_setup_2word_tx_desc(struct ath5k_hw *ah, struct ath5k_desc *desc,
case AR5K_PKT_TYPE_PIFS:
frame_type = AR5K_AR5210_TX_DESC_FRAME_TYPE_PIFS;
default:
- frame_type = type /*<< 2 ?*/;
+ frame_type = type;
}
tx_ctl->tx_control_0 |=