mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Allow vendor command to run without interface up
In the present scenario, the vendor command wlan_hdd_cfg80211_get_logger_supp_feature has the flag WIPHY_VENDOR_CMD_NEED_RUNNING set which requires the net device to be up and running for the API to work. This is not necessary as the command doesnot need the net dev to be active. Remove the flag so that the command returns the proper results even when the net device is not running Change-Id: I2dd9d801aa474cda2a3f6292d6b94df18797be02 CRs-Fixed: 2202096
This commit is contained in:
parent
9bb7ba43de
commit
412ceb9fbf
1 changed files with 1 additions and 2 deletions
|
|
@ -13923,8 +13923,7 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = {
|
|||
.info.vendor_id = QCA_NL80211_VENDOR_ID,
|
||||
.info.subcmd = QCA_NL80211_VENDOR_SUBCMD_GET_LOGGER_FEATURE_SET,
|
||||
.flags = WIPHY_VENDOR_CMD_NEED_WDEV |
|
||||
WIPHY_VENDOR_CMD_NEED_NETDEV |
|
||||
WIPHY_VENDOR_CMD_NEED_RUNNING,
|
||||
WIPHY_VENDOR_CMD_NEED_NETDEV,
|
||||
.doit = wlan_hdd_cfg80211_get_logger_supp_feature
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue