Revert "Wireless driver had a line trying to iterate past the end of an array. I just corrected it so it would build with optimizations."
This isn't needed with Rajko's fix.
This reverts commit 8fb8a09db8
.
This commit is contained in:
@ -358,7 +358,7 @@ osl_pktfree_static(osl_t *osh, void *p, bool send)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < MAX_STATIC_PKT_NUM; i++)
|
||||
for (i = 0; i < MAX_STATIC_PKT_NUM*2; i++)
|
||||
{
|
||||
if ( (i < MAX_STATIC_PKT_NUM && p == bcm_static_skb->skb_4k[i]) ||
|
||||
(i >= MAX_STATIC_PKT_NUM && p == bcm_static_skb->skb_8k[i-MAX_STATIC_PKT_NUM]) )
|
||||
|
Reference in New Issue
Block a user