]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd797217e394ee64aea70d5102e28a3ef554d371b
treef6f0b7eac2766dd7aac2938754368cbef1ba42f9
parentb69626c2a77c7e8653f7b3befc3694bd5ea10d5f
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