Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- drivers/staging/bcm/Qos.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/bcm/Qos.c b/drivers/staging/bcm/Qos.c index f8eb3fe..80c5c65 100644 --- a/drivers/staging/bcm/Qos.c +++ b/drivers/staging/bcm/Qos.c @@ -396,6 +396,7 @@ static USHORT IpVersion4(struct bcm_mini_adapter *Adapter, out: if (TRUE == bClassificationSucceed) { INT iMatchedSFQueueIndex = 0; + iMatchedSFQueueIndex = SearchSfid(Adapter, pstClassifierRule->ulSFID); if (iMatchedSFQueueIndex >= NO_OF_QUEUES) @@ -542,6 +543,7 @@ VOID flush_all_queues(struct bcm_mini_adapter *Adapter) /* down(&Adapter->data_packet_queue_lock); */ for (iQIndex = LowPriority; iQIndex < HiPriority; iQIndex++) { struct net_device_stats *netstats = &Adapter->dev->stats; + curr_packet_info = &Adapter->PackInfo[iQIndex]; spin_lock_bh(&curr_packet_info->SFQueueLock); -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel