Re: [Query] mwifiex: few observations to reduce number of endian conversions

2016-06-21 Thread Prasun Maiti
Hi Amitkumar, On Tue, Jun 21, 2016 at 3:47 PM, Amitkumar Karwar wrote: > I agree with your observations. We'll prepare a cleanup patch to address this. > > Regards, > Amitkumar I have already made some changes. I will send you a patch for this. -- Thanks, Prasun -- To unsubscribe from this l

RE: [Query] mwifiex: few observations to reduce number of endian conversions

2016-06-21 Thread Amitkumar Karwar
Hi Prasun, > From: Prasun Maiti [mailto:prasunmait...@gmail.com] > Sent: Friday, June 17, 2016 6:42 PM > To: Amitkumar Karwar; Nishant Sarmukadam > Cc: Linux Kernel; Linux Next; WiFi Mailing List; Johannes Berg > Subject: [Query] mwifiex: few observations to reduce number of endia

[Query] mwifiex: few observations to reduce number of endian conversions

2016-06-17 Thread Prasun Maiti
Hi Amitkumar, I have two observations: 1. I have found that in the command response path for host command "HostCmd_CMD_802_11_EEPROM_ACCESS", a "0" value has been endian converted. It can only be a safe futuristic approach for any non-zero value there however! Otherwise, the endian conversion can