Wireless driver had a line trying to iterate past the end of an array. I just corrected it so it would build with optimizations.
I have no idea what, if any, consequences there may be to this.
This commit is contained in:
parent
2dfc0915ee
commit
8fb8a09db8
@ -358,7 +358,7 @@ osl_pktfree_static(osl_t *osh, void *p, bool send)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < MAX_STATIC_PKT_NUM*2; i++)
|
||||
for (i = 0; i < MAX_STATIC_PKT_NUM; i++)
|
||||
{
|
||||
if (p == bcm_static_skb->skb_4k[i])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user