summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/join.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-08-02 15:49:06 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 23:49:49 (GMT)
commitac558ca2ae878bd7a77831cda684702a2fa23d95 (patch)
tree10cfbf76cc842b265a9e8f7e4850e04e8e7fb136 /drivers/net/wireless/libertas/join.c
parentc23a24f6ae083e058ed1e9472979df09915ffdf5 (diff)
downloadlinux-fsl-qoriq-ac558ca2ae878bd7a77831cda684702a2fa23d95.tar.xz
[PATCH] libertas: make more functions static & remove unused functions
Some functions where declared in header files, but used only once. They are now static functions. After doing this, I found out that some functions weren't used at all. I removed this dead code. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/join.c')
-rw-r--r--drivers/net/wireless/libertas/join.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c
index f71c172..f9799c3 100644
--- a/drivers/net/wireless/libertas/join.c
+++ b/drivers/net/wireless/libertas/join.c
@@ -112,20 +112,6 @@ void libertas_unset_basic_rate_flags(u8 * rates, size_t len)
}
-int libertas_send_deauth(wlan_private * priv)
-{
- wlan_adapter *adapter = priv->adapter;
- int ret = 0;
-
- if (adapter->mode == IW_MODE_INFRA &&
- adapter->connect_status == LIBERTAS_CONNECTED)
- ret = libertas_send_deauthentication(priv);
- else
- ret = -ENOTSUPP;
-
- return ret;
-}
-
/**
* @brief Associate to a specific BSS discovered in a scan
*