diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-01-31 19:49:58 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-11 12:44:52 -0500 |
commit | 5b112d3d098c97b867cc580f590395cd1e72f18c (patch) | |
tree | 75e3a6434adaab876ae54ea35d7ceebebbf3ca4a /net/wireless/scan.c | |
parent | bba87ffe606b7fc5fba73d1c0c5ac1eacd2cebe8 (diff) |
cfg80211: pass wiphy to cfg80211_ref_bss/put_bss
This prepares for using the spinlock instead of krefs
which is needed in the next patch to track the refs
of combined BSSes correctly.
Acked-by: Bing Zhao <bzhao@marvell.com> [mwifiex]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/scan.c')
-rw-r--r-- | net/wireless/scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c index 36daacb31788..dacb44ac2f74 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c | |||
@@ -818,7 +818,7 @@ cfg80211_inform_bss_frame(struct wiphy *wiphy, | |||
818 | } | 818 | } |
819 | EXPORT_SYMBOL(cfg80211_inform_bss_frame); | 819 | EXPORT_SYMBOL(cfg80211_inform_bss_frame); |
820 | 820 | ||
821 | void cfg80211_ref_bss(struct cfg80211_bss *pub) | 821 | void cfg80211_ref_bss(struct wiphy *wiphy, struct cfg80211_bss *pub) |
822 | { | 822 | { |
823 | struct cfg80211_internal_bss *bss; | 823 | struct cfg80211_internal_bss *bss; |
824 | 824 | ||
@@ -830,7 +830,7 @@ void cfg80211_ref_bss(struct cfg80211_bss *pub) | |||
830 | } | 830 | } |
831 | EXPORT_SYMBOL(cfg80211_ref_bss); | 831 | EXPORT_SYMBOL(cfg80211_ref_bss); |
832 | 832 | ||
833 | void cfg80211_put_bss(struct cfg80211_bss *pub) | 833 | void cfg80211_put_bss(struct wiphy *wiphy, struct cfg80211_bss *pub) |
834 | { | 834 | { |
835 | struct cfg80211_internal_bss *bss; | 835 | struct cfg80211_internal_bss *bss; |
836 | 836 | ||