summaryrefslogtreecommitdiff
path: root/drivers/ssb/pcihost_wrapper.c
diff options
context:
space:
mode:
authorIwo Mergler <iwo@call-direct.com.au>2008-07-19 14:17:40 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-07-29 20:55:05 (GMT)
commitb93ce437eba7e0232683326f30d9d1167a872fad (patch)
tree5f9a501d4407be45e7f3cab6312ae2e3c725278d /drivers/ssb/pcihost_wrapper.c
parent3e0c1abe748a30bc705a55f71bca8e04a83820f1 (diff)
downloadlinux-fsl-qoriq-b93ce437eba7e0232683326f30d9d1167a872fad.tar.xz
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 'drivers/ssb/pcihost_wrapper.c')
0 files changed, 0 insertions, 0 deletions