ath5k: use correct packet type when transmitting
authorBob Copeland <me@bobcopeland.com>
Tue, 9 Feb 2010 18:06:54 +0000 (13:06 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Feb 2010 21:15:22 +0000 (16:15 -0500)
commit2ac2927a953a01c83df255118922cce1523d1a18
treef6f0b7eac2766dd7aac2938754368cbef1ba42f9
parent05df49865be08b30e7ba91b9d3d94d7d52dd3033
ath5k: use correct packet type when transmitting

The hardware needs to know what type of frames are being
sent in order to fill in various fields, for example the
timestamp in probe responses (before this patch, it was
always 0).  Set it correctly when initializing the TX
descriptor.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c