staging: vt6656: rxtx.c s_vFillTxKey fill structure vnt_mic_hdr
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 23 Aug 2013 13:37:48 +0000 (14:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 17:11:03 +0000 (10:11 -0700)
commitec37d8b67b276317778cb786adebc905f9c67937
tree9f2691966b729c70d37650e3c7e9eb89120f0678
parent5a5d6a80cf8733ccb29d83951f1dd2f0e4a4fe2b
staging: vt6656: rxtx.c s_vFillTxKey fill structure vnt_mic_hdr

Replace the pointer offsets with structure of mic_hdr with
endian conversion where needed.

Replace vFillTxKey argument u8 *pMICHDR with struct vnt_mic_hdr *mic_hdr
and fix type of calling functions.

An extra check that mic_hdr is not NULL

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