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

Commit 6b4c8de9 authored by Yue Ma's avatar Yue Ma Committed by Gerrit - the friendly Code Review server
Browse files

cnss2: Remove debug flag for athdiag feature



Athdiag feature can be used for all configs from host side. It will
be up to firmware for how to handle it properly.

Change-Id: I6b283e947257ad077361d3fadf10fac4e7a2f47e
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent b9ab0c93
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -274,7 +274,6 @@ int cnss_wlan_disable(struct device *dev, enum cnss_driver_mode mode)
}
EXPORT_SYMBOL(cnss_wlan_disable);

#ifdef CONFIG_CNSS2_DEBUG
int cnss_athdiag_read(struct device *dev, u32 offset, u32 mem_type,
		      u32 data_len, u8 *output)
{
@@ -332,21 +331,6 @@ int cnss_athdiag_write(struct device *dev, u32 offset, u32 mem_type,
	return ret;
}
EXPORT_SYMBOL(cnss_athdiag_write);
#else
int cnss_athdiag_read(struct device *dev, u32 offset, u32 mem_type,
		      u32 data_len, u8 *output)
{
	return -EPERM;
}
EXPORT_SYMBOL(cnss_athdiag_read);

int cnss_athdiag_write(struct device *dev, u32 offset, u32 mem_type,
		       u32 data_len, u8 *input)
{
	return -EPERM;
}
EXPORT_SYMBOL(cnss_athdiag_write);
#endif

int cnss_set_fw_log_mode(struct device *dev, u8 fw_log_mode)
{