linux/drivers/staging/vt6656
Malcolm Priestley 7077256b52 staging: vt6656: vnt_tx_packet use skb_clone to preserve sk_buff.
The sk_buff needs to preserved for copying to various parts
of context and passing back to mac80211

clone sk_buff in context so to continue to writing to orginal
sk_buff data area to send in vnt_tx_context.

dev_kfree_skb the context on error or dev_kfree_skb the
orignal when done. The error handling continues as before.

Only one place in function needs to change from
ieee80211_get_hdrlen_from_skb to ieee80211_hdrlen(hdr) which
is already to pointing to correct position.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/b87e8cc1-f584-989d-830b-609d712f08c7@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-27 12:23:10 +02:00
..
baseband.c staging: vt6656: Use const for read only data 2020-05-05 12:33:00 +02:00
baseband.h staging: vt6656: Check the return value of vnt_control_out_* calls 2020-04-28 14:16:49 +02:00
card.c staging: vt6656: remove difs / sifs adjustments. 2020-05-13 13:53:58 +02:00
card.h staging: vt6656: Check the return value of vnt_control_out_* calls 2020-04-28 14:16:49 +02:00
channel.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
channel.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
desc.h staging: vt6656: Use BIT() macro instead of hex value 2020-03-21 10:58:16 +01:00
device.h staging: vt6656: rxtx remove unused need_ack 2020-05-22 11:02:26 +02:00
Kconfig staging: vt665*: use help instead of ---help--- in Kconfig 2019-05-20 10:49:08 +02:00
key.c staging: vt6656: return all key calls to mac80211 stack. 2020-05-05 12:27:59 +02:00
key.h staging: vt6656: vnt_set_keymode simplify key modes. 2020-05-05 12:26:44 +02:00
mac.c staging: vt6656: Remove functions' documentation 2020-04-28 14:16:50 +02:00
mac.h staging: vt6656: Check the return value of vnt_control_out_* calls 2020-04-28 14:16:49 +02:00
main_usb.c staging: vt6656: use usb_anchor for tx queue. 2020-05-19 16:17:19 +02:00
Makefile staging: vt6656: vt6655: removing unused macros definition Makefiles 2020-05-15 15:49:13 +02:00
power.c staging: vt6656: refactor power save operation 2020-05-05 12:28:00 +02:00
power.h staging: vt6656: Check the return value of vnt_control_out_* calls 2020-04-28 14:16:49 +02:00
rf.c staging: vt6656: Remove logically dead code 2020-05-13 13:58:44 +02:00
rf.h staging: vt6556: vnt_rf_setpower convert to use ieee80211_channel. 2020-04-13 14:53:21 +02:00
rxtx.c staging: vt6656: vnt_tx_packet use skb_clone to preserve sk_buff. 2020-05-27 12:23:10 +02:00
rxtx.h staging: vt6656: Fix vnt_tx_usb_header static checker warning 2020-05-27 10:16:33 +02:00
TODO
usbpipe.c staging: vt6656: use usb_anchor for tx queue. 2020-05-19 16:17:19 +02:00
usbpipe.h staging: vt6656: Use const for read only data 2020-05-05 12:33:00 +02:00
wcmd.c staging: vt6556: vnt_rf_setpower convert to use ieee80211_channel. 2020-04-13 14:53:21 +02:00
wcmd.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00