diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-04-19 10:25:48 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-04-19 10:28:25 +0200 |
commit | dbda949b7ff005cec4c58bf93c5b4058148f0c59 (patch) | |
tree | b140e9d90aefaaa0a033edc6a248e8c78f70bdb7 /net/wireless/nl80211.c | |
parent | 630009e2440d31683d734165a06365f49acc37d4 (diff) | |
download | linux-dbda949b7ff005cec4c58bf93c5b4058148f0c59.tar.gz linux-dbda949b7ff005cec4c58bf93c5b4058148f0c59.tar.bz2 linux-dbda949b7ff005cec4c58bf93c5b4058148f0c59.zip |
wifi: cfg80211: make some regulatory functions void
The return value of regulatory_hint_indoor() is always 0 for
success, and the return value of regulatory_hint_found_beacon()
is always ignored. Make them both have void return.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r-- | net/wireless/nl80211.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index b4edba6b0b7b..e5d8ea4211ea 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -8116,7 +8116,8 @@ static int nl80211_req_set_reg(struct sk_buff *skb, struct genl_info *info) is_indoor = true; } - return regulatory_hint_indoor(is_indoor, owner_nlportid); + regulatory_hint_indoor(is_indoor, owner_nlportid); + return 0; default: return -EINVAL; } |