|
@@ -1192,7 +1192,7 @@ QDF_STATUS sme_get_valid_channels(uint32_t *ch_freq_list, uint32_t *list_len)
|
|
#ifdef WLAN_CONV_SPECTRAL_ENABLE
|
|
#ifdef WLAN_CONV_SPECTRAL_ENABLE
|
|
static QDF_STATUS sme_register_spectral_cb(struct mac_context *mac_ctx)
|
|
static QDF_STATUS sme_register_spectral_cb(struct mac_context *mac_ctx)
|
|
{
|
|
{
|
|
- struct spectral_legacy_cbacks spectral_cb;
|
|
|
|
|
|
+ struct spectral_legacy_cbacks spectral_cb = {0};
|
|
QDF_STATUS status;
|
|
QDF_STATUS status;
|
|
|
|
|
|
spectral_cb.vdev_get_chan_freq = sme_get_oper_chan_freq;
|
|
spectral_cb.vdev_get_chan_freq = sme_get_oper_chan_freq;
|