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: 32700ffed68efe9a314e79e03edfff71cbcfda57
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig