2009-04-23 20:51:47

by Jouni Malinen

[permalink] [raw]
Subject: [PATCH] nl80211: Make nl80211_send_mlme_timeout() static

nl80211_send_mlme_timeout() is supposed to be used only within
nl80211.c, so it can be made static.

Signed-off-by: Jouni Malinen <[email protected]>

---
net/wireless/nl80211.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- uml.orig/net/wireless/nl80211.c 2009-04-23 23:47:11.000000000 +0300
+++ uml/net/wireless/nl80211.c 2009-04-23 23:47:36.000000000 +0300
@@ -3696,9 +3696,9 @@ void nl80211_send_disassoc(struct cfg802
NL80211_CMD_DISASSOCIATE);
}

-void nl80211_send_mlme_timeout(struct cfg80211_registered_device *rdev,
- struct net_device *netdev, int cmd,
- const u8 *addr)
+static void nl80211_send_mlme_timeout(struct cfg80211_registered_device *rdev,
+ struct net_device *netdev, int cmd,
+ const u8 *addr)
{
struct sk_buff *msg;
void *hdr;

--
Jouni Malinen PGP id EFC895FA