qcacmn: Fix Connection issue when AP change from hidden to non-hidden

If AP change its status from hidden to broadcasting SSID in its beacon
kernel drop the beacon entry as its confusing. Now during connection
driver try to update the entry in kernel and it fails and as kernel drop
the beacon the connection fails.

To fix this detect if AP changed its ssid type from hidden to
broadcasting and unlink the old bss from kernel in that case.

Change-Id: I10ec42749ebcd2ddea23f7f3a94d862124df156d
CRs-Fixed: 2410430
diff --git a/umac/scan/dispatcher/src/wlan_scan_utils_api.c b/umac/scan/dispatcher/src/wlan_scan_utils_api.c
index 1836b43..2bf43b8 100644
--- a/umac/scan/dispatcher/src/wlan_scan_utils_api.c
+++ b/umac/scan/dispatcher/src/wlan_scan_utils_api.c
@@ -1097,6 +1097,7 @@
 
 	if (util_scan_is_hidden_ssid(ssid)) {
 		scan_entry->ie_list.ssid = NULL;
+		scan_entry->is_hidden_ssid = true;
 	} else {
 		qdf_mem_copy(scan_entry->ssid.ssid,
 				ssid->ssid, ssid->ssid_len);