diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2008-12-11 16:22:13 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 19:45:31 (GMT) |
commit | 9c5f89b3f6580cca21dca4ede940900c5b3c3a81 (patch) | |
tree | 6d298387944cc089cd452bcb16e5854198a6feea /drivers/net/hydra.c | |
parent | f2f1ba253d970479343f97c4620e16842c695d03 (diff) | |
download | linux-fsl-qoriq-9c5f89b3f6580cca21dca4ede940900c5b3c3a81.tar.xz |
ath9k: Do not remove header padding on RX from short frames
The 802.11 header is only padded to 32-bit boundary when the frame has
a non-zero length payload. In other words, control frames (e.g., ACK)
do not have a padding and we should not try to remove it. This fixes
monitor mode for short control frames. In addition, the hdrlen&3 use
is described in more detail to make it easier to understand how the
padding length is calculated.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/hydra.c')
0 files changed, 0 insertions, 0 deletions