mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-10 15:39:38 +00:00
rtl8188eu: Remove CONFIG_SKB_COPY
This one is always defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
dd62caa1e1
commit
2bcb8d3cb2
2 changed files with 2 additions and 9 deletions
|
@ -2635,17 +2635,12 @@ int amsdu_to_msdu(struct adapter *padapter, union recv_frame *prframe)
|
|||
a_len -= ETH_HLEN;
|
||||
|
||||
/* Allocate new skb for releasing to upper layer */
|
||||
#ifdef CONFIG_SKB_COPY
|
||||
sub_skb = rtw_skb_alloc(nSubframe_Length + 12);
|
||||
if(sub_skb)
|
||||
{
|
||||
if(sub_skb) {
|
||||
skb_reserve(sub_skb, 12);
|
||||
data_ptr = (u8 *)skb_put(sub_skb, nSubframe_Length);
|
||||
memcpy(data_ptr, pdata, nSubframe_Length);
|
||||
}
|
||||
else
|
||||
#endif /* CONFIG_SKB_COPY */
|
||||
{
|
||||
} else {
|
||||
sub_skb = rtw_skb_clone(prframe->u.hdr.pkt);
|
||||
if(sub_skb)
|
||||
{
|
||||
|
|
|
@ -34,8 +34,6 @@
|
|||
|
||||
#define CONFIG_P2P
|
||||
|
||||
#define CONFIG_SKB_COPY //for amsdu
|
||||
|
||||
#define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */
|
||||
|
||||
#define CONFIG_BR_EXT // Enable NAT2.5 support for STA mode interface with a L2 Bridge
|
||||
|
|
Loading…
Reference in a new issue