mac.c (dc55e3074ca150d5820fd4be5d4afd6cb5e876ad) | mac.c (855aed1220d2c94425ab01a85fe7a6f5c436940f) |
---|---|
1/* 2 * Copyright (c) 2005-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2013 Qualcomm Atheros, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * --- 2485 unchanged lines hidden (view full) --- 2494 ath10k_warn("failed to set arp ac override parameter: %d\n", 2495 ret); 2496 goto err_core_stop; 2497 } 2498 2499 ar->num_started_vdevs = 0; 2500 ath10k_regd_update(ar); 2501 | 1/* 2 * Copyright (c) 2005-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2013 Qualcomm Atheros, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * --- 2485 unchanged lines hidden (view full) --- 2494 ath10k_warn("failed to set arp ac override parameter: %d\n", 2495 ret); 2496 goto err_core_stop; 2497 } 2498 2499 ar->num_started_vdevs = 0; 2500 ath10k_regd_update(ar); 2501 |
2502 ath10k_spectral_start(ar); 2503 |
|
2502 mutex_unlock(&ar->conf_mutex); 2503 return 0; 2504 2505err_core_stop: 2506 ath10k_core_stop(ar); 2507 2508err_power_down: 2509 ath10k_hif_power_down(ar); --- 394 unchanged lines hidden (view full) --- 2904 spin_lock_bh(&ar->data_lock); 2905 if (arvif->beacon) { 2906 dma_unmap_single(arvif->ar->dev, 2907 ATH10K_SKB_CB(arvif->beacon)->paddr, 2908 arvif->beacon->len, DMA_TO_DEVICE); 2909 dev_kfree_skb_any(arvif->beacon); 2910 arvif->beacon = NULL; 2911 } | 2504 mutex_unlock(&ar->conf_mutex); 2505 return 0; 2506 2507err_core_stop: 2508 ath10k_core_stop(ar); 2509 2510err_power_down: 2511 ath10k_hif_power_down(ar); --- 394 unchanged lines hidden (view full) --- 2906 spin_lock_bh(&ar->data_lock); 2907 if (arvif->beacon) { 2908 dma_unmap_single(arvif->ar->dev, 2909 ATH10K_SKB_CB(arvif->beacon)->paddr, 2910 arvif->beacon->len, DMA_TO_DEVICE); 2911 dev_kfree_skb_any(arvif->beacon); 2912 arvif->beacon = NULL; 2913 } |
2914 |
|
2912 spin_unlock_bh(&ar->data_lock); 2913 | 2915 spin_unlock_bh(&ar->data_lock); 2916 |
2917 ret = ath10k_spectral_vif_stop(arvif); 2918 if (ret) 2919 ath10k_warn("failed to stop spectral for vdev %i: %d\n", 2920 arvif->vdev_id, ret); 2921 |
|
2914 ar->free_vdev_map |= 1 << (arvif->vdev_id); 2915 list_del(&arvif->list); 2916 2917 if (arvif->vdev_type == WMI_VDEV_TYPE_AP) { 2918 ret = ath10k_peer_delete(arvif->ar, arvif->vdev_id, vif->addr); 2919 if (ret) 2920 ath10k_warn("failed to remove peer for AP vdev %i: %d\n", 2921 arvif->vdev_id, ret); --- 1959 unchanged lines hidden --- | 2922 ar->free_vdev_map |= 1 << (arvif->vdev_id); 2923 list_del(&arvif->list); 2924 2925 if (arvif->vdev_type == WMI_VDEV_TYPE_AP) { 2926 ret = ath10k_peer_delete(arvif->ar, arvif->vdev_id, vif->addr); 2927 if (ret) 2928 ath10k_warn("failed to remove peer for AP vdev %i: %d\n", 2929 arvif->vdev_id, ret); --- 1959 unchanged lines hidden --- |