diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-08-01 10:49:34 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-08-20 07:57:50 -0400 |
commit | cc74c0c7d6d623d0d3f13ef64895937edb7b3177 (patch) | |
tree | 524c4e76e99a0e9042bbc96d590533602de3dd34 | |
parent | 5bc1420b11903e9f8c470d3b33061b8de0c5c005 (diff) |
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>
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 | ||||
-rw-r--r-- | net/mac80211/mlme.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 793f03e15191..2a80698b6324 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -1430,7 +1430,6 @@ void ieee80211_sta_rx_notify(struct ieee80211_sub_if_data *sdata, | |||
1430 | struct ieee80211_hdr *hdr); | 1430 | struct ieee80211_hdr *hdr); |
1431 | void ieee80211_sta_tx_notify(struct ieee80211_sub_if_data *sdata, | 1431 | void ieee80211_sta_tx_notify(struct ieee80211_sub_if_data *sdata, |
1432 | struct ieee80211_hdr *hdr, bool ack); | 1432 | struct ieee80211_hdr *hdr, bool ack); |
1433 | void ieee80211_beacon_connection_loss_work(struct work_struct *work); | ||
1434 | 1433 | ||
1435 | void ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, | 1434 | void ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, |
1436 | enum queue_stop_reason reason); | 1435 | enum queue_stop_reason reason); |
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) | |||
1720 | mutex_unlock(&local->mtx); | 1720 | mutex_unlock(&local->mtx); |
1721 | } | 1721 | } |
1722 | 1722 | ||
1723 | void ieee80211_beacon_connection_loss_work(struct work_struct *work) | 1723 | static void ieee80211_beacon_connection_loss_work(struct work_struct *work) |
1724 | { | 1724 | { |
1725 | struct ieee80211_sub_if_data *sdata = | 1725 | struct ieee80211_sub_if_data *sdata = |
1726 | container_of(work, struct ieee80211_sub_if_data, | 1726 | container_of(work, struct ieee80211_sub_if_data, |