Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a515de66 authored by Johannes Berg's avatar Johannes Berg
Browse files

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1353,7 +1353,8 @@ static bool reg_dev_ignore_cell_hint(struct wiphy *wiphy)
	return !(wiphy->features & NL80211_FEATURE_CELL_BASE_REG_HINTS);
}
#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;
}