Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278103
b: refs/heads/master
c: cf97fa9
h: refs/heads/master
i:
  278101: b348977
  278099: 14dec19
  278095: 51ce76e
v: v3
  • Loading branch information
Kalle Valo committed Nov 11, 2011
1 parent 363fa26 commit 7c023ac
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 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: 11f6e40d9f21767a9090e4e559d3c63edf25e6c0
refs/heads/master: cf97fa9fdf145bff2a0117d2ead4a92b132f69f6
6 changes: 0 additions & 6 deletions trunk/drivers/net/wireless/ath/ath6kl/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1613,12 +1613,6 @@ int ath6kl_core_init(struct ath6kl *ar)
*/
memcpy(ndev->dev_addr, ar->mac_addr, ETH_ALEN);

ret = ath6kl_init_hw_stop(ar);
if (ret) {
ath6kl_err("Failed to stop hardware: %d\n", ret);
goto err_htc_cleanup;
}

return ret;

err_rxbuf_cleanup:
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/net/wireless/ath/ath6kl/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1062,12 +1062,6 @@ struct ath6kl_vif *ath6kl_vif_first(struct ath6kl *ar)
static int ath6kl_open(struct net_device *dev)
{
struct ath6kl_vif *vif = netdev_priv(dev);
int ret;

/* FIXME: how to handle multi vif support? */
ret = ath6kl_init_hw_start(vif->ar);
if (ret)
return ret;

set_bit(WLAN_ENABLED, &vif->flags);

Expand All @@ -1084,7 +1078,6 @@ static int ath6kl_close(struct net_device *dev)
{
struct ath6kl *ar = ath6kl_priv(dev);
struct ath6kl_vif *vif = netdev_priv(dev);
int ret;

netif_stop_queue(dev);

Expand All @@ -1099,11 +1092,6 @@ static int ath6kl_close(struct net_device *dev)

ath6kl_cfg80211_scan_complete_event(vif, true);

/* FIXME: how to handle multi vif support? */
ret = ath6kl_init_hw_stop(ar);
if (ret)
return ret;

clear_bit(WLAN_ENABLED, &vif->flags);

return 0;
Expand Down

0 comments on commit 7c023ac

Please sign in to comment.