Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
kfree(priv->rtllib->wpa_ie);
priv->rtllib->wpa_ie = NULL;
CamResetAllEntry(dev);
- memset(priv->rtllib->swcamtable,0,sizeof(SW_CAM_TABLE)*32);
+ memset(priv->rtllib->swcamtable,0,sizeof(struct sw_cam_table)*32);
rtl8192_irq_disable(dev);
del_timer_sync(&priv->watch_dog_timer);
priv->bForcedSilentReset = 0;
priv->bDisableNormalResetCheck = false;
priv->force_reset = false;
- memset(priv->rtllib->swcamtable,0,sizeof(SW_CAM_TABLE)*32);
+ memset(priv->rtllib->swcamtable,0,sizeof(struct sw_cam_table)*32);
memset(&priv->InterruptLog,0,sizeof(struct log_int_8190));
priv->RxCounter = 0;
if (wrqu->encoding.flags & IW_ENCODE_DISABLED) {
ieee->pairwise_key_type = ieee->group_key_type = KEY_TYPE_NA;
CamResetAllEntry(dev);
- memset(priv->rtllib->swcamtable,0,sizeof(SW_CAM_TABLE)*32);
+ memset(priv->rtllib->swcamtable,0,sizeof(struct sw_cam_table)*32);
goto end_hw_sec;
}
if (wrqu->encoding.length!=0){
{
ieee->pairwise_key_type = ieee->group_key_type = KEY_TYPE_NA;
CamResetAllEntry(dev);
- memset(priv->rtllib->swcamtable,0,sizeof(SW_CAM_TABLE)*32);
+ memset(priv->rtllib->swcamtable,0,sizeof(struct sw_cam_table)*32);
goto end_hw_sec;
}
alg = (ext->alg == IW_ENCODE_ALG_CCMP)?KEY_TYPE_CCMP:ext->alg;
u32 LastNumRxUnicast;
};//, *struct rt_link_detect *;
-typedef struct _SW_CAM_TABLE{
+struct sw_cam_table {
u8 macaddr[6];
bool bused;
u8 useDK;
u8 key_index;
-}SW_CAM_TABLE,*PSW_CAM_TABLE;
+};//,*struct sw_cam_table *;
#define TOTAL_CAM_ENTRY 32
typedef struct _rate_adaptive
{
struct rtllib_crypt_data *crypt[WEP_KEYS];
int tx_keyidx; /* default TX key index (crypt[tx_keyidx]) */
- SW_CAM_TABLE swcamtable[TOTAL_CAM_ENTRY];
+ struct sw_cam_table swcamtable[TOTAL_CAM_ENTRY];
struct timer_list crypt_deinit_timer;
int crypt_quiesced;
ieee->raw_tx = 0;
ieee->hwsec_active = 0;
- memset(ieee->swcamtable,0,sizeof(SW_CAM_TABLE)*32);
+ memset(ieee->swcamtable,0,sizeof(struct sw_cam_table)*32);
rtllib_softmac_init(ieee);
ieee->pHTInfo = (struct rt_hi_throughput*)kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL);