diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index b514abcc2b93..f1d21570e6cb 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -791,5 +791,16 @@ struct cfg80211_bss *cfg80211_get_mesh(struct wiphy *wiphy, | |||
791 | const u8 *meshid, size_t meshidlen, | 791 | const u8 *meshid, size_t meshidlen, |
792 | const u8 *meshcfg); | 792 | const u8 *meshcfg); |
793 | void cfg80211_put_bss(struct cfg80211_bss *bss); | 793 | void cfg80211_put_bss(struct cfg80211_bss *bss); |
794 | /** | ||
795 | * cfg80211_unlink_bss - unlink BSS from internal data structures | ||
796 | * @wiphy: the wiphy | ||
797 | * @bss: the bss to remove | ||
798 | * | ||
799 | * This function removes the given BSS from the internal data structures | ||
800 | * thereby making it no longer show up in scan results etc. Use this | ||
801 | * function when you detect a BSS is gone. Normally BSSes will also time | ||
802 | * out, so it is not necessary to use this function at all. | ||
803 | */ | ||
804 | void cfg80211_unlink_bss(struct wiphy *wiphy, struct cfg80211_bss *bss); | ||
794 | 805 | ||
795 | #endif /* __NET_CFG80211_H */ | 806 | #endif /* __NET_CFG80211_H */ |