summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtl_core.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-18 22:09:44 -0500
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-24 01:23:14 -0500
commit5ea0448047ce05da0ee10775510a581b5f71cc82 (patch)
tree7171b891122f9d1932a1d6ba5c465c3ec0554fea /drivers/staging/rtl8192e/rtl_core.c
parent0e86753fe3faae9c24ca52218678b614ccf04f03 (diff)
downloadop-kernel-dev-5ea0448047ce05da0ee10775510a581b5f71cc82.zip
op-kernel-dev-5ea0448047ce05da0ee10775510a581b5f71cc82.tar.gz
staging: rtl8192e: Convert typedef SW_CAM_TABLE to struct sw_cam_table
Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl_core.c')
-rw-r--r--drivers/staging/rtl8192e/rtl_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c
index cb25212..b7eebf4 100644
--- a/drivers/staging/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl_core.c
@@ -1071,7 +1071,7 @@ int rtl8192_sta_down(struct net_device *dev, bool shutdownrf)
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);
@@ -1224,7 +1224,7 @@ static void rtl8192_init_priv_variable(struct net_device* dev)
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;
OpenPOWER on IntegriCloud