diff options
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index e333f14dce23..02e4fb639428 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -756,6 +756,7 @@ static int lbs_thread(void *data) | |||
756 | priv->nr_retries = 0; | 756 | priv->nr_retries = 0; |
757 | } else { | 757 | } else { |
758 | priv->cur_cmd = NULL; | 758 | priv->cur_cmd = NULL; |
759 | priv->dnld_sent = DNLD_RES_RECEIVED; | ||
759 | lbs_pr_info("requeueing command %x due to timeout (#%d)\n", | 760 | lbs_pr_info("requeueing command %x due to timeout (#%d)\n", |
760 | le16_to_cpu(cmdnode->cmdbuf->command), priv->nr_retries); | 761 | le16_to_cpu(cmdnode->cmdbuf->command), priv->nr_retries); |
761 | 762 | ||
@@ -1556,6 +1557,7 @@ static int lbs_add_rtap(struct lbs_private *priv) | |||
1556 | rtap_dev->hard_start_xmit = lbs_rtap_hard_start_xmit; | 1557 | rtap_dev->hard_start_xmit = lbs_rtap_hard_start_xmit; |
1557 | rtap_dev->set_multicast_list = lbs_set_multicast_list; | 1558 | rtap_dev->set_multicast_list = lbs_set_multicast_list; |
1558 | rtap_dev->priv = priv; | 1559 | rtap_dev->priv = priv; |
1560 | SET_NETDEV_DEV(rtap_dev, priv->dev->dev.parent); | ||
1559 | 1561 | ||
1560 | ret = register_netdev(rtap_dev); | 1562 | ret = register_netdev(rtap_dev); |
1561 | if (ret) { | 1563 | if (ret) { |