Messages in this thread | | | Date | Sat, 20 Mar 2010 01:10:48 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH] staging: winbond: mlmetxrx.c Coding style fixes. |
| |
Hi!
And thanks for the effort.
> +u8 MLMESendFrame(struct wbsoft_priv *adapter, u8 *mmpdu, u16 len, u8 datatype) > { > if (adapter->sMlmeFrame.IsInUsed != PACKET_FREE_TO_USE) { > adapter->sMlmeFrame.wNumTxMMPDUDiscarded++; > @@ -30,17 +27,19 @@ u8 MLMESendFrame(struct wbsoft_priv * adapter, u8 *pMMPDU, u16 len, u8 DataType) > } > adapter->sMlmeFrame.IsInUsed = PACKET_COME_FROM_MLME; > > - // Keep information for sending > - adapter->sMlmeFrame.pMMPDU = pMMPDU; > - adapter->sMlmeFrame.DataType = DataType; > - // len must be the last setting due to QUERY_SIZE_SECOND of Mds > + /* Keep information for sending */ > + adapter->sMlmeFrame.pMMPDU = mmpdu;
I'm not sure if 'mmpdu' is good name. But I don't know what it stands for, either, so...
> + adapter->sMlmeFrame.DataType = datatype;
data_type, please...
Pavel
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |