summaryrefslogtreecommitdiffstats
path: root/drivers/char/selection.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-12-19 16:45:29 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:08:49 -0800
commit977b143c13e685081625704ac356b741d71c6a73 (patch)
treee6ec8f913cedc613eca468c92556719a48885cd2 /drivers/char/selection.c
parent8524f59d4735e1ff9c9dc3e09ebcc7bdb3b32b7b (diff)
downloadtalos-op-linux-977b143c13e685081625704ac356b741d71c6a73.tar.gz
talos-op-linux-977b143c13e685081625704ac356b741d71c6a73.zip
airo: fix transmit_802_11_packet()
a) gaplen would better be stored little-endian b) for control packets (shorter than 24-byte header) we ended up with bap_write(ai, hdrlen == 30 ? (const u16*)&gap.gaplen : (const u16*)&gap, 38 - hdrlen, BAP1); passing to card the data past the end of gap (i.e. random stuff from stack) and did _not_ feed the gaplen at the right offset. c) sending the contents of uninitialized fields of struct is Not Nice(tm) either Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/char/selection.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud