wlan: Fix DHCP failure caused by PTK overwrite

On disconnection we are clearing WextState->roamProfile
and on re-association will be using key type from the same.
This causing HDD to send PTK set request again to the
firmware with 0 encryption type leading to DHCP failure.

Change-Id: I66490e565e32a8f487086823d8847060746f9c3b
CRs-Fixed: 529205
1 file changed
tree: b540e4e5d8f968ed1a6184e69f6ac82bf1934601
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig