Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements with macro

2016-08-26 Thread Claudiu Beznea
I will do it soon. Thanks, Claudiu On Fri, Aug 26, 2016 at 9:07 PM, Joe Perches wrote: > On Fri, 2016-08-26 at 20:58 +0300, Claudiu Beznea wrote: >> This patch removes multiple switch-case statements >> with a new macro. The macro will generate the >> corresponding bit mask

Re: [PATCH v2] Staging: wlan-ng: replace switch-case statements with macro

2016-08-26 Thread Joe Perches
On Fri, 2016-08-26 at 20:58 +0300, Claudiu Beznea wrote: > This patch removes multiple switch-case statements > with a new macro. The macro will generate the > corresponding bit mask based on the key index > received as input. Can you go a little farther and remove the #define

[PATCH v2] Staging: wlan-ng: replace switch-case statements with macro

2016-08-26 Thread Claudiu Beznea
This patch removes multiple switch-case statements with a new macro. The macro will generate the corresponding bit mask based on the key index received as input. Chances since v1: Corrected patch title Signed-off-by: Claudiu Beznea ---