libertas: remove handling for CMD_GET_TSF
... which just resided as an old-style command in cmd/cmdresp, but was nowhere useed. If we ever need it, we can re-add it as a newstyle command. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
f57bd284e4
commit
b856f73b39
@@ -188,12 +188,6 @@ static inline int handle_cmd_response(struct lbs_private *priv,
|
||||
spin_unlock_irqrestore(&priv->driver_lock, flags);
|
||||
break;
|
||||
|
||||
case CMD_RET(CMD_GET_TSF):
|
||||
spin_lock_irqsave(&priv->driver_lock, flags);
|
||||
memcpy((void *)priv->cur_cmd->callback_arg,
|
||||
&resp->params.gettsf.tsfvalue, sizeof(u64));
|
||||
spin_unlock_irqrestore(&priv->driver_lock, flags);
|
||||
break;
|
||||
case CMD_RET(CMD_BT_ACCESS):
|
||||
spin_lock_irqsave(&priv->driver_lock, flags);
|
||||
if (priv->cur_cmd->callback_arg)
|
||||
|
Reference in New Issue
Block a user