mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-14 11:05:34 +00:00
MA-20217-2 Fix dfs_state_t build warning
Fixed below build warning: vendor/nxp-opensource/nxp-mwifiex/mxm_wifiex/wlan_src/mlinux/moal_cfg80211.c:5104:25: error: implicit conversion from enumeration type 'enum nl80211_dfs_state' to different enumeration type 'dfs_state_t' (aka 'enum _dfs_state_t') [-Werror,-Wenum-conversion] sband->channels[i].dfs_state; Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
This commit is contained in:
parent
ae28818963
commit
ea800459ae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue