mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Fix clang warnings implicit enum dfs_region
warning: implicit conversion from enumeration type 'enum dfs_region' to different enumeration type 'enum nl80211_dfs_regions' [-Wenum-conversion] Change-Id: I742e767ce72cc8507aaadcacec3f0cefd4147791 CRs-Fixed: 2055487
This commit is contained in:
parent
74a66d627b
commit
d06f2cf4e9
1 changed files with 2 additions and 2 deletions
|
|
@ -715,11 +715,11 @@ void hdd_reg_notifier(struct wiphy *wiphy,
|
|||
|
||||
if (('K' == request->alpha2[0]) &&
|
||||
('R' == request->alpha2[1]))
|
||||
request->dfs_region = DFS_KR_REG;
|
||||
request->dfs_region = (enum nl80211_dfs_regions) DFS_KR_REG;
|
||||
|
||||
if (('C' == request->alpha2[0]) &&
|
||||
('N' == request->alpha2[1]))
|
||||
request->dfs_region = DFS_CN_REG;
|
||||
request->dfs_region = (enum nl80211_dfs_regions) DFS_CN_REG;
|
||||
|
||||
/* first check if this callback is in response to the driver callback */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue