wlan: Fix for PNO failure during connection cleanup

Avoid race condition between connection cleanup and enabling
PNO commands by moving the logic of avoiding PNO enable while
active sessions exists to the WDI_ProcessSetPreferredNetworkReq
function so that both can be handled in the WDI stateMachine
context.

CRs-Fixed: 648812

Change-Id: I39470712f0976a0b480a596b5bc6b8d6933013a6
1 file changed
tree: 636950218c35ac0d1990cce38a360f33e3481937
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig