Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2823a5ec authored by Kai Liu's avatar Kai Liu
Browse files

cnss: Add wlan driver callback function of update_status



Add wlan driver callback function of update_status. This
function will be called when platform driver wants to
update wlan driver status.

Change-Id: I2659d3d4a495a4dcc7d87715dfe83c8e4a4ef80b
CRs-fixed: 2010800
Signed-off-by: default avatarYuanyuan Liu <yuanliu@codeaurora.org>
Signed-off-by: default avatarKai Liu <kaliu@codeaurora.org>
parent 79551c4b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2017, 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
@@ -56,6 +56,7 @@ struct cnss_wlan_driver {
	int  (*suspend)(struct pci_dev *pdev, pm_message_t state);
	int  (*resume)(struct pci_dev *pdev);
	void (*modem_status)(struct pci_dev *, int state);
	void (*update_status)(struct pci_dev *pdev, uint32_t status);
	struct cnss_wlan_runtime_ops *runtime_ops;
	const struct pci_device_id *id_table;
};