diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-05-02 06:34:48 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-06 21:15:01 +0200 |
commit | 1b06bb4087d195d8289919df2f4d95ec3b89769e (patch) | |
tree | 3d3ede0a7a89238f1009a28f510d3ee399ef1491 /net/wireless | |
parent | p54usb: Fixes compile error with CONFIG_PM=n (diff) | |
download | linux-1b06bb4087d195d8289919df2f4d95ec3b89769e.tar.xz linux-1b06bb4087d195d8289919df2f4d95ec3b89769e.zip |
cfg80211: make nl80211_send_mlme_timeout() static
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>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/nl80211.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index b1fc98225fd1..3c53c5cbc3a9 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -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; |