Re: [PATCH 17/37] staging:r8188eu: update pkt->data synchronously with rx_data

From: Ivan Safonov
Date: Thu Oct 20 2016 - 09:13:19 EST


On 10/20/2016 04:03 PM, Dan Carpenter wrote:
On Wed, Oct 19, 2016 at 10:07:45PM +0700, Ivan Safonov wrote:
To replace rx_data with pkt->data.
Now pkt->data is equal to rx_data.


I'm not smart enough to tell on my own... Is this a bugfix?

It is not bugfix, only variable replacement.
recv_frame structure duplicates sk_buff. Most of the ieee80211_* functions require a pointer to sk_buff. Therefore, easier to use sk_buff instead of recv_frame structure.


regards,
dan carpenter