diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-05-31 12:34:58 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-19 22:58:22 (GMT) |
commit | 1622c8fc5c88d64599130710537fe20977637962 (patch) | |
tree | 56a80af8aaeb6b860d41f2e67d31df1e94db3c56 /drivers/staging/vt6656/device.h | |
parent | c2c32da33fb7f1e738bf46bb28a3ca1bb99cbd9e (diff) | |
download | linux-1622c8fc5c88d64599130710537fe20977637962.tar.xz |
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>
Diffstat (limited to 'drivers/staging/vt6656/device.h')
-rw-r--r-- | drivers/staging/vt6656/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 5b64ca7..11b863d 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -241,7 +241,9 @@ struct vnt_usb_send_context { void *priv; struct sk_buff *skb; struct urb *urb; + struct ieee80211_hdr *hdr; unsigned int buf_len; + u16 tx_hdr_size; u8 type; bool in_use; unsigned char data[MAX_TOTAL_SIZE_WITH_ALL_HEADERS]; |