diff options
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index 24de3c3cf877..dfaf03a4bbba 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -188,21 +188,6 @@ static int lbs_ret_802_11_snmp_mib(struct lbs_private *priv, | |||
188 | return 0; | 188 | return 0; |
189 | } | 189 | } |
190 | 190 | ||
191 | static int lbs_ret_802_11_rf_tx_power(struct lbs_private *priv, | ||
192 | struct cmd_ds_command *resp) | ||
193 | { | ||
194 | struct cmd_ds_802_11_rf_tx_power *rtp = &resp->params.txp; | ||
195 | |||
196 | lbs_deb_enter(LBS_DEB_CMD); | ||
197 | |||
198 | priv->txpowerlevel = le16_to_cpu(rtp->currentlevel); | ||
199 | |||
200 | lbs_deb_cmd("TX power currently %d\n", priv->txpowerlevel); | ||
201 | |||
202 | lbs_deb_leave(LBS_DEB_CMD); | ||
203 | return 0; | ||
204 | } | ||
205 | |||
206 | static int lbs_ret_802_11_rssi(struct lbs_private *priv, | 191 | static int lbs_ret_802_11_rssi(struct lbs_private *priv, |
207 | struct cmd_ds_command *resp) | 192 | struct cmd_ds_command *resp) |
208 | { | 193 | { |
@@ -287,10 +272,6 @@ static inline int handle_cmd_response(struct lbs_private *priv, | |||
287 | ret = lbs_ret_802_11_snmp_mib(priv, resp); | 272 | ret = lbs_ret_802_11_snmp_mib(priv, resp); |
288 | break; | 273 | break; |
289 | 274 | ||
290 | case CMD_RET(CMD_802_11_RF_TX_POWER): | ||
291 | ret = lbs_ret_802_11_rf_tx_power(priv, resp); | ||
292 | break; | ||
293 | |||
294 | case CMD_RET(CMD_802_11_SET_AFC): | 275 | case CMD_RET(CMD_802_11_SET_AFC): |
295 | case CMD_RET(CMD_802_11_GET_AFC): | 276 | case CMD_RET(CMD_802_11_GET_AFC): |
296 | spin_lock_irqsave(&priv->driver_lock, flags); | 277 | spin_lock_irqsave(&priv->driver_lock, flags); |