[PATCH 0/2] rtlwifi: Add missing values to case statements and simplify debugging

Larry Finger Larry.Finger at lwfinger.net
Sat Sep 24 16:57:17 UTC 2016


Routines *_get_hw_reg() for some of the drivers were missing entries for
HAL_DEF_WOWLAN. No action should be taken for these drivers.

Patch 1 depends on "realtek: Add switch variable to 'switch case not
processed' messages" submitted by Joe Perches. That patch will log
missing cases with the hex value. To aid in debugging, the values for
entries in the hardware variables enum are explicitly defined in hex. 

Larry Finger (2):
  rtlwifi: Add HAL_DEF_WOWLAN case to *_get_hw() routines
  rtlwifi: Add explicit values to hw_variables enum

 .../net/wireless/realtek/rtlwifi/rtl8188ee/hw.c    |   2 +
 .../net/wireless/realtek/rtlwifi/rtl8192ce/hw.c    |   2 +
 .../net/wireless/realtek/rtlwifi/rtl8192de/hw.c    |   2 +
 .../net/wireless/realtek/rtlwifi/rtl8192ee/hw.c    |   2 +
 .../net/wireless/realtek/rtlwifi/rtl8192se/hw.c    |   2 +
 .../net/wireless/realtek/rtlwifi/rtl8723ae/hw.c    |   2 +
 .../net/wireless/realtek/rtlwifi/rtl8723be/hw.c    |   2 +
 drivers/net/wireless/realtek/rtlwifi/wifi.h        | 208 ++++++++++-----------
 8 files changed, 118 insertions(+), 104 deletions(-)

-- 
2.6.6



More information about the devel mailing list