mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
qcacld-3.0: Allow GET_RING_DATA vendor command without NETDEV dependency
Currently GET_RING_DATA vendor command is dependent on NETDEV, as vendor command is wiphy command which is not dependent on NETDEV allow the flush logs command irrespective of NETDEV. Change-Id: I8e0474ca94645685e7f1969ad668692a44f96c23
This commit is contained in:
parent
c4ad938f4b
commit
0b95f9ec80
1 changed files with 2 additions and 4 deletions
|
|
@ -8993,7 +8993,7 @@ static int __wlan_hdd_cfg80211_wifi_logger_get_ring_data(struct wiphy *wiphy,
|
|||
struct nlattr *tb
|
||||
[QCA_WLAN_VENDOR_ATTR_WIFI_LOGGER_GET_RING_DATA_MAX + 1];
|
||||
|
||||
hdd_enter_dev(wdev->netdev);
|
||||
hdd_enter();
|
||||
|
||||
if (QDF_GLOBAL_FTM_MODE == hdd_get_conparam()) {
|
||||
hdd_err("Command not allowed in FTM mode");
|
||||
|
|
@ -14337,9 +14337,7 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = {
|
|||
{
|
||||
.info.vendor_id = QCA_NL80211_VENDOR_ID,
|
||||
.info.subcmd = QCA_NL80211_VENDOR_SUBCMD_GET_RING_DATA,
|
||||
.flags = WIPHY_VENDOR_CMD_NEED_WDEV |
|
||||
WIPHY_VENDOR_CMD_NEED_NETDEV |
|
||||
WIPHY_VENDOR_CMD_NEED_RUNNING,
|
||||
.flags = WIPHY_VENDOR_CMD_NEED_WDEV,
|
||||
.doit = wlan_hdd_cfg80211_wifi_logger_get_ring_data
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue