Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247523
b: refs/heads/master
c: 7e4b4ee
h: refs/heads/master
i:
  247521: 916db60
  247519: bb633c9
v: v3
  • Loading branch information
Daniel Drake authored and John W. Linville committed May 5, 2011
1 parent 4c84929 commit ab323d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 470ab2a23b453518ac86937572b4531d8925ca55
refs/heads/master: 7e4b4eecedb3c6bd5f9fec479ef33ccc6ce72375
23 changes: 0 additions & 23 deletions trunk/drivers/net/wireless/libertas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,28 +149,6 @@ static int lbs_eth_stop(struct net_device *dev)
return 0;
}

static void lbs_tx_timeout(struct net_device *dev)
{
struct lbs_private *priv = dev->ml_priv;

lbs_deb_enter(LBS_DEB_TX);

lbs_pr_err("tx watch dog timeout\n");

dev->trans_start = jiffies; /* prevent tx timeout */

if (priv->currenttxskb)
lbs_send_tx_feedback(priv, 0);

/* XX: Shouldn't we also call into the hw-specific driver
to kick it somehow? */
lbs_host_to_card_done(priv);

/* FIXME: reset the card */

lbs_deb_leave(LBS_DEB_TX);
}

void lbs_host_to_card_done(struct lbs_private *priv)
{
unsigned long flags;
Expand Down Expand Up @@ -791,7 +769,6 @@ static const struct net_device_ops lbs_netdev_ops = {
.ndo_stop = lbs_eth_stop,
.ndo_start_xmit = lbs_hard_start_xmit,
.ndo_set_mac_address = lbs_set_mac_address,
.ndo_tx_timeout = lbs_tx_timeout,
.ndo_set_multicast_list = lbs_set_multicast_list,
.ndo_change_mtu = eth_change_mtu,
.ndo_validate_addr = eth_validate_addr,
Expand Down

0 comments on commit ab323d8

Please sign in to comment.