mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
1 parent
81e925747e
commit
a515de6607
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user