base.c (6673e2e8e040e319e0505f31580b7f1dbb5862e4) | base.c (40ca22eafeb61ee1419dd7c4c2698459183c582c) |
---|---|
1/*- 2 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 3 * Copyright (c) 2004-2005 Atheros Communications, Inc. 4 * Copyright (c) 2006 Devicescape Software, Inc. 5 * Copyright (c) 2007 Jiri Slaby <jirislaby@gmail.com> 6 * Copyright (c) 2007 Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> 7 * 8 * All rights reserved. --- 848 unchanged lines hidden (view full) --- 857 goto err_queues; 858 } 859 860 if (!ath_is_world_regd(regulatory)) 861 regulatory_hint(hw->wiphy, regulatory->alpha2); 862 863 ath5k_init_leds(sc); 864 | 1/*- 2 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 3 * Copyright (c) 2004-2005 Atheros Communications, Inc. 4 * Copyright (c) 2006 Devicescape Software, Inc. 5 * Copyright (c) 2007 Jiri Slaby <jirislaby@gmail.com> 6 * Copyright (c) 2007 Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> 7 * 8 * All rights reserved. --- 848 unchanged lines hidden (view full) --- 857 goto err_queues; 858 } 859 860 if (!ath_is_world_regd(regulatory)) 861 regulatory_hint(hw->wiphy, regulatory->alpha2); 862 863 ath5k_init_leds(sc); 864 |
865 ath5k_sysfs_register(sc); 866 |
|
865 return 0; 866err_queues: 867 ath5k_txq_release(sc); 868err_bhal: 869 ath5k_hw_release_tx_queue(ah, sc->bhalq); 870err_desc: 871 ath5k_desc_free(sc, pdev); 872err: --- 19 unchanged lines hidden (view full) --- 892 * Other than that, it's straightforward... 893 */ 894 ieee80211_unregister_hw(hw); 895 ath5k_desc_free(sc, pdev); 896 ath5k_txq_release(sc); 897 ath5k_hw_release_tx_queue(sc->ah, sc->bhalq); 898 ath5k_unregister_leds(sc); 899 | 867 return 0; 868err_queues: 869 ath5k_txq_release(sc); 870err_bhal: 871 ath5k_hw_release_tx_queue(ah, sc->bhalq); 872err_desc: 873 ath5k_desc_free(sc, pdev); 874err: --- 19 unchanged lines hidden (view full) --- 894 * Other than that, it's straightforward... 895 */ 896 ieee80211_unregister_hw(hw); 897 ath5k_desc_free(sc, pdev); 898 ath5k_txq_release(sc); 899 ath5k_hw_release_tx_queue(sc->ah, sc->bhalq); 900 ath5k_unregister_leds(sc); 901 |
902 ath5k_sysfs_unregister(sc); |
|
900 /* 901 * NB: can't reclaim these until after ieee80211_ifdetach 902 * returns because we'll get called back to reclaim node 903 * state and potentially want to use them. 904 */ 905} 906 907 --- 2583 unchanged lines hidden --- | 903 /* 904 * NB: can't reclaim these until after ieee80211_ifdetach 905 * returns because we'll get called back to reclaim node 906 * state and potentially want to use them. 907 */ 908} 909 910 --- 2583 unchanged lines hidden --- |