On 1/10/22 18:15, James Prestwood wrote: > This adds a priority argument to scan_common rather than hard > coding it when inserting the work item > --- > src/scan.c | 19 ++++++++++++------- > 1 file changed, 12 insertions(+), 7 deletions(-) > > diff --git a/src/scan.c b/src/scan.c > index 54159dfd..96907e59 100644 > --- a/src/scan.c > +++ b/src/scan.c > @@ -52,6 +52,8 @@ > #include "src/band.h" > #include "src/scan.h" > > +#define SCAN_WORK_PRIORITY 2 Can we name this SCAN_REQUEST_PRIORITY, or even simply REQUEST_PRIORITY? Also, I wonder if we should put the priority numbers into wiphy.h instead of relying on hard-coded 1/2/3 everywhere. Regards, -Denis