|
@@ -1327,7 +1327,8 @@ int wcn36xx_smd_update_proberesp_tmpl(struct wcn36xx *wcn,
|
|
|
if (skb->len > BEACON_TEMPLATE_SIZE) {
|
|
if (skb->len > BEACON_TEMPLATE_SIZE) {
|
|
|
wcn36xx_warn("probe response template is too big: %d\n",
|
|
wcn36xx_warn("probe response template is too big: %d\n",
|
|
|
skb->len);
|
|
skb->len);
|
|
|
- return -E2BIG;
|
|
|
|
|
|
|
+ ret = -E2BIG;
|
|
|
|
|
+ goto out;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
msg.probe_resp_template_len = skb->len;
|
|
msg.probe_resp_template_len = skb->len;
|