diff --git a/mxm_wifiex/wlan_src/mlinux/moal_cfg80211.c b/mxm_wifiex/wlan_src/mlinux/moal_cfg80211.c index ac4e38c..22e6565 100644 --- a/mxm_wifiex/wlan_src/mlinux/moal_cfg80211.c +++ b/mxm_wifiex/wlan_src/mlinux/moal_cfg80211.c @@ -5101,7 +5101,7 @@ int woal_get_wiphy_chan_dfs_state(struct wiphy *wiphy, if (sband->channels[i].hw_value == channel) { #if CFG80211_VERSION_CODE > KERNEL_VERSION(3, 8, 13) ch_dfs_state->dfs_state = - sband->channels[i].dfs_state; + (dfs_state_t)sband->channels[i].dfs_state; ch_dfs_state->dfs_required = MTRUE; ret = 0; #endif