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)
commit1622c8fc5c88d64599130710537fe20977637962
tree56a80af8aaeb6b860d41f2e67d31df1e94db3c56
parentc2c32da33fb7f1e738bf46bb28a3ca1bb99cbd9e
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