diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-14 11:10:24 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:49:26 -0700 |
commit | c29b9b9b0235d56e5602f61ed38702dd376aae20 (patch) | |
tree | 5db640ccdfb46b84a6de16d84e18b1011d6ab452 /net/mac80211/ieee80211_ioctl.c | |
parent | 5d4ecd9370da6e32588f218a5495806635154352 (diff) | |
download | op-kernel-dev-c29b9b9b0235d56e5602f61ed38702dd376aae20.zip op-kernel-dev-c29b9b9b0235d56e5602f61ed38702dd376aae20.tar.gz |
[MAC80211]: don't send invalid QoS frames
Kalle Valo noticed that QoS frames are sent with an invalid QoS control
field; this is because we increase the header length but neither
initialise the space nor actually have enough space in the header
structure for the QoS control field.
This patch fixes it by treating the QoS field specially and appending it
explicitly, initialising it to zero.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211_ioctl.c')
0 files changed, 0 insertions, 0 deletions