|
@@ -577,9 +577,8 @@ QDF_STATUS cm_roam_sync_event_handler_cb(struct wlan_objmgr_vdev *vdev,
|
|
sync_ind->link_beacon_probe_resp_length) {
|
|
sync_ind->link_beacon_probe_resp_length) {
|
|
if (sync_ind->link_beacon_probe_resp_length >
|
|
if (sync_ind->link_beacon_probe_resp_length >
|
|
(QDF_IEEE80211_3ADDR_HDR_LEN + MAC_B_PR_SSID_OFFSET)) {
|
|
(QDF_IEEE80211_3ADDR_HDR_LEN + MAC_B_PR_SSID_OFFSET)) {
|
|
- ie_len = sync_ind->link_beacon_probe_resp_length -
|
|
|
|
- (QDF_IEEE80211_3ADDR_HDR_LEN +
|
|
|
|
- MAC_B_PR_SSID_OFFSET);
|
|
|
|
|
|
+ ie_len = MAX_MGMT_MPDU_LEN -
|
|
|
|
+ (QDF_IEEE80211_3ADDR_HDR_LEN + MAC_B_PR_SSID_OFFSET);
|
|
} else {
|
|
} else {
|
|
mlme_err("LFR3: MLO: vdev:%d Invalid link Beacon Length",
|
|
mlme_err("LFR3: MLO: vdev:%d Invalid link Beacon Length",
|
|
vdev_id);
|
|
vdev_id);
|