]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: rxtx add mac header to vnt_tx_datahead_* structures
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 31 May 2014 12:34:58 +0000 (13:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:58:22 +0000 (15:58 -0700)
commit0484ba1de5c3444a351638d5b3f4da03375a1cbe
tree56a80af8aaeb6b860d41f2e67d31df1e94db3c56
parent3ee8b27866d6b457c2a7e446c4c9bfe5195091b2
staging: vt6656: rxtx add mac header to vnt_tx_datahead_* structures

Add vnt_mac_hdr_pos to set mac header pointer and the calculate header size.

Pass ieee80211 hdr pointer and tx_hdr_size in vnt_usb_send_context.

Remove old pointer arithmetic and attach pMACHeader to hdr.

cbHeaderLength/cbHeaderSize now uses the value of tx_hdr_size.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/rxtx.c
drivers/staging/vt6656/rxtx.h