|
@@ -858,10 +858,6 @@ static int __wlan_hdd_cfg80211_ocb_set_config(struct wiphy *wiphy,
|
|
config->flags = flags;
|
|
config->flags = flags;
|
|
|
|
|
|
/* Read the channel array */
|
|
/* Read the channel array */
|
|
- if (!tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_CHANNEL_ARRAY]) {
|
|
|
|
- hdd_err("CHANNEL_ARRAY is not present");
|
|
|
|
- return -EINVAL;
|
|
|
|
- }
|
|
|
|
channel_array = tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_CHANNEL_ARRAY];
|
|
channel_array = tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_CHANNEL_ARRAY];
|
|
if (!channel_array) {
|
|
if (!channel_array) {
|
|
hdd_err("No channel present");
|
|
hdd_err("No channel present");
|