From: Larry Finger Date: Wed, 20 Jul 2011 01:51:54 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~14^2~39 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80f839d43960c7f1dbd4dbcda63efaaa8cffc2b2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 6bba2a54a785..07cde96344fb 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -656,12 +656,12 @@ enum wireless_mode { WIRELESS_MODE_N_5G = 0x20 }; -typedef enum _WIRELESS_NETWORK_TYPE{ +enum wireless_network_type { WIRELESS_11B = 1, WIRELESS_11G = 2, WIRELESS_11A = 4, WIRELESS_11N = 8 -} WIRELESS_NETWORK_TYPE; +}; #define OUI_SUBTYPE_WMM_INFO 0 #define OUI_SUBTYPE_WMM_PARAM 1