|
@@ -15663,7 +15663,7 @@ free_scan_flter:
|
|
|
|
|
|
QDF_STATUS sme_fast_reassoc(tHalHandle hal, tCsrRoamProfile *profile,
|
|
|
const tSirMacAddr bssid, int channel,
|
|
|
- uint8_t vdev_id)
|
|
|
+ uint8_t vdev_id, const tSirMacAddr connected_bssid)
|
|
|
{
|
|
|
QDF_STATUS status;
|
|
|
struct wma_roam_invoke_cmd *fastreassoc;
|
|
@@ -15674,6 +15674,11 @@ QDF_STATUS sme_fast_reassoc(tHalHandle hal, tCsrRoamProfile *profile,
|
|
|
sme_err("qdf_mem_malloc failed for fastreassoc");
|
|
|
return QDF_STATUS_E_NOMEM;
|
|
|
}
|
|
|
+ /* if both are same then set the flag */
|
|
|
+ if (!qdf_mem_cmp(connected_bssid, bssid, ETH_ALEN)) {
|
|
|
+ fastreassoc->is_same_bssid = true;
|
|
|
+ sme_debug("bssid same, bssid[%pM]", bssid);
|
|
|
+ }
|
|
|
fastreassoc->vdev_id = vdev_id;
|
|
|
fastreassoc->bssid[0] = bssid[0];
|
|
|
fastreassoc->bssid[1] = bssid[1];
|