cfg80211: reg: fix reg_ignore_cell_hint return type
[firefly-linux-kernel-4.4.55.git] / net / wireless / reg.c
index b870369fb62e4d3bdce40febdc50e8d988ef0967..2e8d6f39ed564ac7111be036a1f735da1d87d68b 100644 (file)
@@ -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;
 }