* sabrina's firmware puts this over the limit,
and in reality, this chunk of code is only important
if the value is insanely higher than expected, in this
case it is 46 higher lol.
* deadpool/wade are still fine after this.
Change-Id: I76c9ad7f6ce7a87a3446ea6fd603f857bb848dfb
(cherry picked from commit
b28eb22a7c3f1575618e31a5656d05d5f1ef69d3)
}
if (section == DHD_PREALLOC_DHD_INFO) {
- if (size > DHD_PREALLOC_DHD_INFO_SIZE) {
- DHD_STATIC_ERROR("request DHD_INFO(%lu) > %d\n",
- size, DHD_PREALLOC_DHD_INFO_SIZE);
- return NULL;
- }
return wlan_static_dhd_info_buf[index];
}
#if defined(BCMSDIO) || defined(BCMDBUS)