qcacld-3.0: Remove vdev "active" check for get operation chan
The API wlan_get_operation_chan_freq will return 0 if vdev is starting, which is unexpected. Fix by remove vdev "active" check for get operation chan API. Change-Id: I12999a68aa74da931ed847b0b696ef49325daa1d CRs-Fixed: 3225525
This commit is contained in:

committed by
Madan Koyyalamudi

parent
896724d84c
commit
198a53016d
@@ -3245,9 +3245,6 @@ qdf_freq_t wlan_get_operation_chan_freq(struct wlan_objmgr_vdev *vdev)
|
||||
if (!vdev)
|
||||
return chan_freq;
|
||||
|
||||
if (wlan_vdev_mlme_is_active(vdev) != QDF_STATUS_SUCCESS)
|
||||
return chan_freq;
|
||||
|
||||
chan = wlan_vdev_get_active_channel(vdev);
|
||||
if (chan)
|
||||
chan_freq = chan->ch_freq;
|
||||
|
Reference in New Issue
Block a user