]> git.baikalelectronics.ru Git - kernel.git/commitdiff
cfg80211: make nl80211_send_mlme_timeout() static
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 2 May 2009 04:34:48 +0000 (00:34 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:15:01 +0000 (15:15 -0400)
Fixes sparse complaint:

  CHECK   net/wireless/nl80211.c
net/wireless/nl80211.c:3694:6:
warning: symbol 'nl80211_send_mlme_timeout'
was not declared. Should it be static?

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c

index b1fc98225fd1695af405ccdeb11434a317a84547..3c53c5cbc3a943df0def9f1a0f461b8c85a3a06f 100644 (file)
@@ -3696,9 +3696,9 @@ void nl80211_send_disassoc(struct cfg80211_registered_device *rdev,
                                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;