Browse Source

qcacmn: Clear Chan freq in wlan_cm_connect_req of partner link

Partner link connect request is copied from primary link.
The upper layer may include BSS channel freq preference in
OS connect req. We have to clear it for partner link connecting,
otherwise the scm_filter_match will filter out the mlo partner
candidate and cause partner connect failed.

Change-Id: I9ca8f2baf5f7e660ed0b72c1dffa886f1c1e8f11
CRs-Fixed: 3320085
Liangwei Dong 2 years ago
parent
commit
942fb70e22
1 changed files with 0 additions and 6 deletions
  1. 0 6
      umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

+ 0 - 6
umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

@@ -492,18 +492,12 @@ QDF_STATUS mlo_connect(struct wlan_objmgr_vdev *vdev,
 	return wlan_cm_start_connect(vdev, req);
 }
 
-#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
-static inline void
-mlo_update_connect_req_chan_info(struct wlan_cm_connect_req *req)
-{ }
-#else
 static inline void
 mlo_update_connect_req_chan_info(struct wlan_cm_connect_req *req)
 {
 	req->chan_freq = 0;
 	req->chan_freq_hint = 0;
 }
-#endif
 
 /**
  * mlo_prepare_and_send_connect- Prepare and send the connect req