Loading drivers/net/wireless/cnss/cnss_pci.c +1 −1 Original line number Diff line number Diff line Loading @@ -2732,7 +2732,7 @@ err_pcie_link_up: cnss_wlan_vreg_set(vreg_info, VREG_OFF); if (penv->pdev) { if (wdrv && wdrv->update_status) wdrv->update_status(penv->pdev, CNSS_WLAN_SSR_FAIL); wdrv->update_status(penv->pdev, CNSS_SSR_FAIL); if (!penv->recovery_in_progress) { pr_err("%d: Unregistering pci device\n", __LINE__); pci_unregister_driver(&cnss_wlan_pci_driver); Loading include/net/cnss.h +6 −8 Original line number Diff line number Diff line /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -37,11 +37,6 @@ enum cnss_cc_src { CNSS_SOURCE_USER }; enum cnss_wlan_status { CNSS_WLAN_LINK_DOWN, CNSS_WLAN_SSR_FAIL }; /* FW image files */ struct cnss_fw_files { char image_file[CNSS_MAX_FILE_NAME]; Loading Loading @@ -107,11 +102,14 @@ struct cnss_platform_cap { u32 cap_flag; }; /* WLAN driver status */ /* WLAN driver status, keep it aligned with cnss2 */ enum cnss_driver_status { CNSS_UNINITIALIZED, CNSS_INITIALIZED, CNSS_LOAD_UNLOAD CNSS_LOAD_UNLOAD, CNSS_RECOVERY, CNSS_FW_DOWN, CNSS_SSR_FAIL, }; enum cnss_runtime_request { Loading Loading
drivers/net/wireless/cnss/cnss_pci.c +1 −1 Original line number Diff line number Diff line Loading @@ -2732,7 +2732,7 @@ err_pcie_link_up: cnss_wlan_vreg_set(vreg_info, VREG_OFF); if (penv->pdev) { if (wdrv && wdrv->update_status) wdrv->update_status(penv->pdev, CNSS_WLAN_SSR_FAIL); wdrv->update_status(penv->pdev, CNSS_SSR_FAIL); if (!penv->recovery_in_progress) { pr_err("%d: Unregistering pci device\n", __LINE__); pci_unregister_driver(&cnss_wlan_pci_driver); Loading
include/net/cnss.h +6 −8 Original line number Diff line number Diff line /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -37,11 +37,6 @@ enum cnss_cc_src { CNSS_SOURCE_USER }; enum cnss_wlan_status { CNSS_WLAN_LINK_DOWN, CNSS_WLAN_SSR_FAIL }; /* FW image files */ struct cnss_fw_files { char image_file[CNSS_MAX_FILE_NAME]; Loading Loading @@ -107,11 +102,14 @@ struct cnss_platform_cap { u32 cap_flag; }; /* WLAN driver status */ /* WLAN driver status, keep it aligned with cnss2 */ enum cnss_driver_status { CNSS_UNINITIALIZED, CNSS_INITIALIZED, CNSS_LOAD_UNLOAD CNSS_LOAD_UNLOAD, CNSS_RECOVERY, CNSS_FW_DOWN, CNSS_SSR_FAIL, }; enum cnss_runtime_request { Loading