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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
f72f76ba4c
commit
942fb70e22
@@ -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
|
||||
|
Reference in New Issue
Block a user