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

From: Joe Perches
Date: Fri Aug 26 2016 - 14:09:06 EST

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 DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey<#>
and uses too?