wlan: Always update the bss in cfg80211 before connection.

In wlan_hdd_cfg80211_inform_bss, cfg80211_inform_bss is called
only if bss is not present in kernel bss list. This might leads
to a scenario that bss is present when checked but get expired
before connect result are sent to cfg80211 resulting the kernel
not entering in connected state.

Always call cfg80211_inform_bss before sending connect result to
update the bss list in kernel. This updates the bss in the list
and increase its expiry time to IEEE80211_SCAN_RESULT_EXPIRE time.

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