summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg2012-08-01 16:49:34 +0200
committerJohannes Berg2012-08-20 13:57:50 +0200
commitcc74c0c7d6d623d0d3f13ef64895937edb7b3177 (patch)
tree524c4e76e99a0e9042bbc96d590533602de3dd34 /net/mac80211/mlme.c
parentmac80211: check size of channel switch IE when parsing (diff)
downloadkernel-qcow2-linux-cc74c0c7d6d623d0d3f13ef64895937edb7b3177.tar.gz
kernel-qcow2-linux-cc74c0c7d6d623d0d3f13ef64895937edb7b3177.tar.xz
kernel-qcow2-linux-cc74c0c7d6d623d0d3f13ef64895937edb7b3177.zip
mac80211: make ieee80211_beacon_connection_loss_work static
There's no need to declare the function in the header file since it's only used in a single place, so make it static. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index b9cb8dbe34d9..ddb2db5c5b05 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1720,7 +1720,7 @@ static void __ieee80211_connection_loss(struct ieee80211_sub_if_data *sdata)
mutex_unlock(&local->mtx);
}
-void ieee80211_beacon_connection_loss_work(struct work_struct *work)
+static void ieee80211_beacon_connection_loss_work(struct work_struct *work)
{
struct ieee80211_sub_if_data *sdata =
container_of(work, struct ieee80211_sub_if_data,