wlan : Disconnect from the AP if security params changes in beacon.

Added a support to check the change in security in beacon and if
security is changed disconnect from AP.

Handled below security changes:
WPA     <-> WEP
RSN     <-> WEP
WPA/RSN <-> WEP

Logic to handle security change from OPEN to other and vice versa
is arleady present.

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