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:
Jon Benson 2010-09-28 17:20:00 +10:00
parent 2dfc0915ee
commit 8fb8a09db8

View File

@ -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])
{