Re: [PATCH 29/37] staging:r8188eu: take out stripping of iv and icv space from wlanhdr_to_ethhdr function

2016-10-20 Thread Dan Carpenter
On Wed, Oct 19, 2016 at 10:07:57PM +0700, Ivan Safonov wrote: > @@ -1733,6 +1729,13 @@ static int recv_indicatepkts_in_order(struct adapter > *padapter, struct recv_reor > return bPktInBuf; > } > > +void strip_iv_icv(struct sk_buff *skb, uint header_len, > + uint iv_len,

Re: [PATCH 29/37] staging:r8188eu: take out stripping of iv and icv space from wlanhdr_to_ethhdr function

2016-10-20 Thread Dan Carpenter
On Wed, Oct 19, 2016 at 10:07:57PM +0700, Ivan Safonov wrote: > @@ -1733,6 +1729,13 @@ static int recv_indicatepkts_in_order(struct adapter > *padapter, struct recv_reor > return bPktInBuf; > } > > +void strip_iv_icv(struct sk_buff *skb, uint header_len, > + uint iv_len,

[PATCH 29/37] staging:r8188eu: take out stripping of iv and icv space from wlanhdr_to_ethhdr function

2016-10-19 Thread Ivan Safonov
Prepare to replacing wlanhdr_to_ethhdr by ieee80211_data_to_8023. This stripping procedure placed into new strip_iv_icv function. Also strip_iv_icv used inside unprotect_frame. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_recv.c| 27

[PATCH 29/37] staging:r8188eu: take out stripping of iv and icv space from wlanhdr_to_ethhdr function

2016-10-19 Thread Ivan Safonov
Prepare to replacing wlanhdr_to_ethhdr by ieee80211_data_to_8023. This stripping procedure placed into new strip_iv_icv function. Also strip_iv_icv used inside unprotect_frame. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_recv.c| 27 +++