|
@@ -180,6 +180,9 @@ wlan_hdd_pno_config_policy[QCA_WLAN_VENDOR_ATTR_PNO_MAX + 1] = {
|
|
|
[QCA_WLAN_VENDOR_ATTR_EPNO_BAND5GHZ_BONUS] = {
|
|
|
.type = NLA_U32
|
|
|
},
|
|
|
+ [QCA_WLAN_VENDOR_ATTR_PNO_CONFIG_REQUEST_ID] = {
|
|
|
+ .type = NLA_U32
|
|
|
+ },
|
|
|
};
|
|
|
|
|
|
static const struct nla_policy
|
|
@@ -3887,12 +3890,12 @@ static int __wlan_hdd_cfg80211_set_epno_list(struct wiphy *wiphy,
|
|
|
req_msg->num_networks = num_networks;
|
|
|
|
|
|
/* Parse and fetch request Id */
|
|
|
- if (!tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]) {
|
|
|
+ if (!tb[QCA_WLAN_VENDOR_ATTR_PNO_CONFIG_REQUEST_ID]) {
|
|
|
hdd_err("attr request id failed");
|
|
|
goto fail;
|
|
|
}
|
|
|
req_msg->request_id = nla_get_u32(
|
|
|
- tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]);
|
|
|
+ tb[QCA_WLAN_VENDOR_ATTR_PNO_CONFIG_REQUEST_ID]);
|
|
|
hdd_debug("Req Id %u", req_msg->request_id);
|
|
|
|
|
|
req_msg->session_id = adapter->sessionId;
|