Skip to contentSkip to conversation

nl80211: Make nl80211_send_mlme_timeout() static

PATCH New Jouni Malinen 1 participant 1 message Apr 23, 2009 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 net/wireless/nl80211.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
net/wireless/nl80211.c +3 -3
@@ -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;
Signature · 1 line
Jouni Malinen                                            PGP id EFC895FA