diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 11:49:06 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:49:49 -0700 |
commit | ac558ca2ae878bd7a77831cda684702a2fa23d95 (patch) | |
tree | 10cfbf76cc842b265a9e8f7e4850e04e8e7fb136 /drivers/net/wireless/libertas/join.c | |
parent | c23a24f6ae083e058ed1e9472979df09915ffdf5 (diff) | |
download | kernel-crypto-ac558ca2ae878bd7a77831cda684702a2fa23d95.tar.gz kernel-crypto-ac558ca2ae878bd7a77831cda684702a2fa23d95.tar.xz kernel-crypto-ac558ca2ae878bd7a77831cda684702a2fa23d95.zip |
[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.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c index f71c172101a..f9799c3b81c 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 * |