diff options
author | Denis Kenzior <denkenz@gmail.com> | 2018-05-21 19:21:42 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-05-22 09:21:54 +0200 |
commit | ba8f566a5be07dae46c2e562f4243c687ba6dac9 (patch) | |
tree | e6c5b7eaa2c32a8becf8c600a3c2e2bac4196c40 /net/wireless | |
parent | 7ea3e110f2f8ba23f330c2f702f556acd539bcb8 (diff) | |
download | blackbird-op-linux-ba8f566a5be07dae46c2e562f4243c687ba6dac9.tar.gz blackbird-op-linux-ba8f566a5be07dae46c2e562f4243c687ba6dac9.zip |
nl80211: Fix compilation
Commit 7ea3e110f2f8ba23f330c2f702f556acd539bcb8 seems to have
introduced:
net/wireless/nl80211.c: In function ‘nl80211_get_station’:
net/wireless/nl80211.c:4802:34: error: incompatible type for argument 1 of ‘cfg80211_sinfo_release_content’
cfg80211_sinfo_release_content(sinfo);
^~~~~
In file included from net/wireless/nl80211.c:24:0:
./include/net/cfg80211.h:5721:20: note: expected ‘struct station_info *’ but argument is of type ‘struct station_info’
static inline void cfg80211_sinfo_release_content(struct station_info *sinfo)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: 7ea3e110f2f8 ("cfg80211: release station info tidstats where needed")
Signed-off-by: Denis Kenzior <denkenz@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/nl80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index e4a52a2b5e65..462e028ad452 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -4799,7 +4799,7 @@ static int nl80211_get_station(struct sk_buff *skb, struct genl_info *info) msg = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); if (!msg) { - cfg80211_sinfo_release_content(sinfo); + cfg80211_sinfo_release_content(&sinfo); return -ENOMEM; } |