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: firefly_0821_release~3680^2~4313^2^2~864^2~14^2~39 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=80f839d43960c7f1dbd4dbcda63efaaa8cffc2b2;p=firefly-linux-kernel-4.4.55.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