summaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.c
diff options
context:
space:
mode:
authorLuis Carlos Cobo <luisca@cozybit.com>2008-04-01 00:21:23 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-04-01 23:14:11 +0200
commitcb585bccfedab0c228344ffa258950c417dea6b5 (patch)
tree96d00d7c5d57ed40d4f0e910e2e649f6b558f533 /net/mac80211/sta_info.c
parentmac80211: fix deadlocks in debugfs_netdev.c (diff)
downloadlinux-cb585bccfedab0c228344ffa258950c417dea6b5.tar.xz
linux-cb585bccfedab0c228344ffa258950c417dea6b5.zip
mac80211: fix spinlock recursion on sta expiration
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/sta_info.c')
-rw-r--r--net/mac80211/sta_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c
index f5c65e891288..7e1e87257647 100644
--- a/net/mac80211/sta_info.c
+++ b/net/mac80211/sta_info.c
@@ -454,7 +454,7 @@ static struct sta_info *__sta_info_unpin(struct sta_info *sta)
return ret;
}
-static void __sta_info_unlink(struct sta_info **sta)
+void __sta_info_unlink(struct sta_info **sta)
{
struct ieee80211_local *local = (*sta)->local;
struct ieee80211_sub_if_data *sdata = (*sta)->sdata;