dev/ep_pfilter: use the rules that we pass at build-time
Use the rules from the array we are passed in the object file.
We'll use the feature when enabling vlans: at that point we'll have
two sets to choose from, according to run-time configuration.
Using the build-time configuration avoids the hairy ifdef and saves
almost 1kB of binary size.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment