wlan: Fix for FTM mode host driver memory leak

The Memory allocated is not being freed in case of failure.
Free the memory allocated when return due to failure.

Change-Id: I4189820864672d53aa32c73dbf5ddfe6d93a4b35
CRs-Fixed: 642837
STA is disconnected with specific AP IPTIME N904NS-second

STA gets disconnected with AP IPTIME N904NS when AP is configured
for WPA1 + TKIP on CH 161.
Return value of memcmp function must be checked with NOT operation.

CRs-Fixed: 642070
Change-Id: I1a75c40ecb42b638f9c7183d5d0b995be5f66304
wlan: Fix for PNO scan for 802.11A configured AP.

If Probe Responce received in PNO indication does not
contain DSParam IE or HT Info IE then add dummy channel to the
received BSS info so that Scan result received as a part of PNO
is updated to the supplicant.

Change-Id: Ie7fbc27b5c2899d219e6b44feae751dbefc196c5
CRs-Fixed: 629288
wlan: Revision 3.2.3.290

Revision 3.2.3.290

Change-Id: I40a2e4231177da71018ab36cdb8104a2e4318f72