aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/wext.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2008-04-02 12:04:35 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-08 16:44:40 -0400
commitfb14a7e0860ef8b19d0dd61be96e23eacb4da129 (patch)
treeb3d116a893da0efb84224f8cc9ce39376cd4e66b /drivers/net/wireless/libertas/wext.c
parent73ab1f25d4a3a22a1547d44199c2171c04e59cb8 (diff)
libertas: remove lbs_get_fwversion()
It was used only at one place anyway. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r--drivers/net/wireless/libertas/wext.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c
index 4ab5b8523ed9..0973d015a520 100644
--- a/drivers/net/wireless/libertas/wext.c
+++ b/drivers/net/wireless/libertas/wext.c
@@ -2060,23 +2060,6 @@ static int lbs_set_wap(struct net_device *dev, struct iw_request_info *info,
2060 return ret; 2060 return ret;
2061} 2061}
2062 2062
2063void lbs_get_fwversion(struct lbs_private *priv, char *fwversion, int maxlen)
2064{
2065 char fwver[32];
2066
2067 mutex_lock(&priv->lock);
2068
2069 sprintf(fwver, "%u.%u.%u.p%u",
2070 priv->fwrelease >> 24 & 0xff,
2071 priv->fwrelease >> 16 & 0xff,
2072 priv->fwrelease >> 8 & 0xff,
2073 priv->fwrelease & 0xff);
2074
2075 mutex_unlock(&priv->lock);
2076 snprintf(fwversion, maxlen, fwver);
2077}
2078
2079
2080/* 2063/*
2081 * iwconfig settable callbacks 2064 * iwconfig settable callbacks
2082 */ 2065 */