Re: [PATCH] staging: wilc1000: use kernel define byte order macros

From: Robert Perry Hooker
Date: Thu Mar 23 2017 - 18:15:19 EST


Well, yes, all data is 'endian' one way or another, right? I guess the byte order of the tx/rx_buffers is host-endian
(which could be big), or _maybe_ network-endian...

Regards,
Perry

On Thu, 2017-03-23 at 11:33 +0300, Dan Carpenter wrote:
> On Wed, Mar 22, 2017 at 07:53:28PM -0600, Robert Perry Hooker wrote:
> > I don't think buff is an ieee80211_hdr struct. I think it's the rx_buffer allocated at wilc_wlan.c:1417.
> >
>
> The rx_buffer is going to end up filled with endian data, right?
>
> regards,
> dan carpenter
>