Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5ebd85b authored by Stephen Hemminger's avatar Stephen Hemminger
Browse files

beceem: do classification even if device is offline



Since classification and queue control are separate, allow
classification even if device is down now; this avoids races
on startup/shutdown.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
parent 429a5908
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -524,12 +524,6 @@ USHORT ClassifyPacket(PMINI_ADAPTER Adapter,struct sk_buff* skb)

	for(uiLoopIndex = MAX_CLASSIFIERS - 1; uiLoopIndex >= 0; uiLoopIndex--)
	{
		if (Adapter->device_removed)
		{
			bClassificationSucceed = FALSE;
			break;
		}

		if(bClassificationSucceed)
			break;
		//Iterate through all classifiers which are already in order of priority