diff options
author | Iwo Mergler <iwo@call-direct.com.au> | 2008-07-19 16:17:40 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-29 16:55:05 -0400 |
commit | b93ce437eba7e0232683326f30d9d1167a872fad (patch) | |
tree | 5f9a501d4407be45e7f3cab6312ae2e3c725278d /include/asm-cris/mutex.h | |
parent | 3e0c1abe748a30bc705a55f71bca8e04a83820f1 (diff) |
rt2x00: Fix the beacon length bug
When setting up a beacon template, the length of the beacon is
calculated with the assumption that the SKB already contains
the Tx descriptor. In the case of beacons it doesn't.
This patch undoes the damage by adding the Tx descriptor length
to the beacon length. This is safe, because the shortest possible
beacon is longer than the Tx header.
Signed-off-by: Iwo Mergler <Iwo@call-direct.com.au>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/asm-cris/mutex.h')
0 files changed, 0 insertions, 0 deletions