Commit a515de66 authored by Johannes Berg's avatar Johannes Berg

cfg80211: reg: fix reg_ignore_cell_hint return type

The return type should be enum reg_request_treatment for both
branches of the #ifdef.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 81e92574
...@@ -1353,7 +1353,8 @@ static bool reg_dev_ignore_cell_hint(struct wiphy *wiphy) ...@@ -1353,7 +1353,8 @@ static bool reg_dev_ignore_cell_hint(struct wiphy *wiphy)
return !(wiphy->features & NL80211_FEATURE_CELL_BASE_REG_HINTS); return !(wiphy->features & NL80211_FEATURE_CELL_BASE_REG_HINTS);
} }
#else #else
static int reg_ignore_cell_hint(struct regulatory_request *pending_request) static enum reg_request_treatment
reg_ignore_cell_hint(struct regulatory_request *pending_request)
{ {
return REG_REQ_IGNORE; return REG_REQ_IGNORE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment