ath5k: use correct packet type when transmitting
authorBob Copeland <me@bobcopeland.com>
Tue, 9 Feb 2010 18:06:54 +0000 (13:06 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 15:50:00 +0000 (08:50 -0700)
commitd86f9979af6e6659158eace36273ecd401ee8a81
treef2ebf8c5a4c63ac9b5553fc5be502b1b30af5f1a
parent31a1e79f7defaeed09b176854a09570a31f4e0fb
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