aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-04-11 11:59:50 +0300
committerJohannes Berg <johannes.berg@intel.com>2019-04-26 13:02:11 +0200
commit5809a5d54bb9eda3a388b5a712657970c2cb9f8e (patch)
treef21f0833e43090825bb52cfead03de6ef33f7965 /include/net/cfg80211.h
parentmac80211: store tx power value from user to station (diff)
downloadlinux-dev-5809a5d54bb9eda3a388b5a712657970c2cb9f8e.tar.xz
linux-dev-5809a5d54bb9eda3a388b5a712657970c2cb9f8e.zip
cfg80211: don't pass pointer to pointer unnecessarily
The cfg80211_merge_profile() and ieee802_11_find_bssid_profile() are a bit cleaner if we just pass the merged_ie pointer instead of a pointer to the pointer. This isn't a functional change, it's just a clean up. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 2ea04e94b522..944de1802210 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -5578,7 +5578,7 @@ bool cfg80211_is_element_inherited(const struct element *element,
size_t cfg80211_merge_profile(const u8 *ie, size_t ielen,
const struct element *mbssid_elem,
const struct element *sub_elem,
- u8 **merged_ie, size_t max_copy_len);
+ u8 *merged_ie, size_t max_copy_len);
/**
* enum cfg80211_bss_frame_type - frame type that the BSS data came from