staging:r8188eu: update pkt->(data|tail|len) synchronously with rx_(data|tail|len...
authorIvan Safonov <insafonov@gmail.com>
Mon, 6 Feb 2017 17:23:27 +0000 (20:23 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 12:22:09 +0000 (13:22 +0100)
commite038e67f0891b5fddffd779c20f32a7c59288170
tree0ebc6fa09c19e90ba79ced9fe70bf8f8db270556
parentbdf299c1407b249eb5d623b1ebdd7269a2a88729
staging:r8188eu: update pkt->(data|tail|len) synchronously with rx_(data|tail|len) in recv_frame structure

Original driver code uses rx_* members to store skb (pkt) fields
(instead of pkt->* members), pkt->* updated only after data
completely formed, not in process.

Update pkt->* after data buffer changed (with rx_*).

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_recv.h