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 19:49:49 -0400 |
commit | ac558ca2ae878bd7a77831cda684702a2fa23d95 (patch) | |
tree | 10cfbf76cc842b265a9e8f7e4850e04e8e7fb136 /drivers/net/wireless/libertas/join.c | |
parent | c23a24f6ae083e058ed1e9472979df09915ffdf5 (diff) |
[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 f71c172101a8..f9799c3b81c2 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) | |||
112 | } | 112 | } |
113 | 113 | ||
114 | 114 | ||
115 | int libertas_send_deauth(wlan_private * priv) | ||
116 | { | ||
117 | wlan_adapter *adapter = priv->adapter; | ||
118 | int ret = 0; | ||
119 | |||
120 | if (adapter->mode == IW_MODE_INFRA && | ||
121 | adapter->connect_status == LIBERTAS_CONNECTED) | ||
122 | ret = libertas_send_deauthentication(priv); | ||
123 | else | ||
124 | ret = -ENOTSUPP; | ||
125 | |||
126 | return ret; | ||
127 | } | ||
128 | |||
129 | /** | 115 | /** |
130 | * @brief Associate to a specific BSS discovered in a scan | 116 | * @brief Associate to a specific BSS discovered in a scan |
131 | * | 117 | * |