ath5k: use correct packet type when transmitting
commit5c61625f566640743886f324e1fda0eef5b04e1d
authorBob Copeland <me@bobcopeland.com>
Tue, 9 Feb 2010 18:06:54 +0000 (9 13:06 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 16:06:39 +0000 (15 09:06 -0700)
tree2db23c55d1c39ead7998c4423c840686ff795618
parent85e846977ababcddc37cbe51f38e5ec9a6b21964
ath5k: use correct packet type when transmitting

commit 2ac2927a953a01c83df255118922cce1523d1a18 upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c