Adrian Bunk <bunk@xxxxxxxxxx> wrote: > NL80211_TX_POWER_LIMITED was treated as NL80211_TX_POWER_AUTOMATIC, > which is the opposite of what should happen and can cause nasty > regulatory problems. > > if/else converted to a switch without default to make gcc warn > on unhandled enum values. > > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 65a576e27309 mwifiex: Fix NL80211_TX_POWER_LIMITED -- https://patchwork.kernel.org/patch/10810011/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches