mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-08 20:35:07 +00:00
Cleanup/fix RAW_DATA policy (kernel v5.3) issue
This commit is contained in:
parent
b2b491938f
commit
bd54921c33
@ -2164,7 +2164,6 @@ static const struct wiphy_vendor_command rtw_vendor_cmds[] = {
|
|||||||
.subcmd = WIFI_SUBCMD_GET_FEATURE_SET
|
.subcmd = WIFI_SUBCMD_GET_FEATURE_SET
|
||||||
},
|
},
|
||||||
.flags = WIPHY_VENDOR_CMD_NEED_WDEV | WIPHY_VENDOR_CMD_NEED_NETDEV,
|
.flags = WIPHY_VENDOR_CMD_NEED_WDEV | WIPHY_VENDOR_CMD_NEED_NETDEV,
|
||||||
.policy = VENDOR_CMD_RAW_DATA,
|
|
||||||
.doit = rtw_cfgvendor_get_feature_set
|
.doit = rtw_cfgvendor_get_feature_set
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0))
|
||||||
,
|
,
|
||||||
@ -2178,7 +2177,6 @@ static const struct wiphy_vendor_command rtw_vendor_cmds[] = {
|
|||||||
.subcmd = WIFI_SUBCMD_GET_FEATURE_SET_MATRIX
|
.subcmd = WIFI_SUBCMD_GET_FEATURE_SET_MATRIX
|
||||||
},
|
},
|
||||||
.flags = WIPHY_VENDOR_CMD_NEED_WDEV | WIPHY_VENDOR_CMD_NEED_NETDEV,
|
.flags = WIPHY_VENDOR_CMD_NEED_WDEV | WIPHY_VENDOR_CMD_NEED_NETDEV,
|
||||||
.policy = VENDOR_CMD_RAW_DATA,
|
|
||||||
.doit = rtw_cfgvendor_get_feature_set_matrix
|
.doit = rtw_cfgvendor_get_feature_set_matrix
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0))
|
||||||
,
|
,
|
||||||
|
Loading…
Reference in New Issue
Block a user