prima: Cleanup saved Pre-Auth request on Pre-Auth failure

While doing a pre-auth, the pre-auth request for which memory is
dynamicaly allocated is cached in LIM and is not freed until a
subsequent roaming happens, but lim also relies on this request
being not null to allow a channel switch caused by a change in HT
parameters. As a result after one roaming is done, a HT parameters
change in beacon is not processed. This change ensures that this
scenario is fixed by doing the following-

1. Freeup the cached pre-auth request after roaming is done and
2. Cleanup FT context if pre-auth resulted in a failure.

Change-Id: Ie96a8ea8da777c6e6ac00516b87ba3b0fd5657cf
CRs-Fixed: 808825
2 files changed
tree: e6602a5aa787b907a58b5087f932d15796cd2a34
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile