|
@@ -3398,6 +3398,10 @@ __wlan_hdd_cfg80211_set_ext_roam_params(struct wiphy *wiphy,
|
|
|
goto fail;
|
|
|
}
|
|
|
hdd_debug("Num of Preferred BSSID (%d)", count);
|
|
|
+ if (!tb[QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_SET_BSSID_PREFS]) {
|
|
|
+ hdd_err("attr Preferred BSSID failed");
|
|
|
+ goto fail;
|
|
|
+ }
|
|
|
i = 0;
|
|
|
nla_for_each_nested(curr_attr,
|
|
|
tb[QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_SET_BSSID_PREFS],
|