diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 6cfecb02a34..229edc526cf 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -2719,6 +2719,20 @@ struct cfg80211_bss *cfg80211_get_mesh(struct wiphy *wiphy, | |||
2719 | struct ieee80211_channel *channel, | 2719 | struct ieee80211_channel *channel, |
2720 | const u8 *meshid, size_t meshidlen, | 2720 | const u8 *meshid, size_t meshidlen, |
2721 | const u8 *meshcfg); | 2721 | const u8 *meshcfg); |
2722 | /** | ||
2723 | * cfg80211_ref_bss - reference BSS struct | ||
2724 | * @bss: the BSS struct to reference | ||
2725 | * | ||
2726 | * Increments the refcount of the given BSS struct. | ||
2727 | */ | ||
2728 | void cfg80211_ref_bss(struct cfg80211_bss *bss); | ||
2729 | |||
2730 | /** | ||
2731 | * cfg80211_put_bss - unref BSS struct | ||
2732 | * @bss: the BSS struct | ||
2733 | * | ||
2734 | * Decrements the refcount of the given BSS struct. | ||
2735 | */ | ||
2722 | void cfg80211_put_bss(struct cfg80211_bss *bss); | 2736 | void cfg80211_put_bss(struct cfg80211_bss *bss); |
2723 | 2737 | ||
2724 | /** | 2738 | /** |