|
@@ -3728,6 +3728,11 @@ static int hdd_extscan_epno_fill_network_list(
|
|
|
|
|
|
expected_networks = req_msg->num_networks;
|
|
|
index = 0;
|
|
|
+
|
|
|
+ if (!tb[QCA_WLAN_VENDOR_ATTR_PNO_SET_LIST_PARAM_EPNO_NETWORKS_LIST]) {
|
|
|
+ hdd_err("attr networks list failed");
|
|
|
+ return -EINVAL;
|
|
|
+ }
|
|
|
nla_for_each_nested(networks,
|
|
|
tb[QCA_WLAN_VENDOR_ATTR_PNO_SET_LIST_PARAM_EPNO_NETWORKS_LIST],
|
|
|
rem1) {
|