|
@@ -150,7 +150,7 @@ void deinit_hal_dm(struct net_device *dev)
|
|
|
#ifdef USB_RX_AGGREGATION_SUPPORT
|
|
|
void dm_CheckRxAggregation(struct net_device *dev)
|
|
|
{
|
|
|
- struct r8192_priv *priv = ieee80211_priv((struct net_device *)dev);
|
|
|
+ struct r8192_priv *priv = ieee80211_priv(dev);
|
|
|
PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo;
|
|
|
static unsigned long lastTxOkCnt;
|
|
|
static unsigned long lastRxOkCnt;
|
|
@@ -2346,7 +2346,7 @@ dm_CheckEdcaTurbo_EXIT:
|
|
|
|
|
|
static void dm_init_ctstoself(struct net_device *dev)
|
|
|
{
|
|
|
- struct r8192_priv *priv = ieee80211_priv((struct net_device *)dev);
|
|
|
+ struct r8192_priv *priv = ieee80211_priv(dev);
|
|
|
|
|
|
priv->ieee80211->bCTSToSelfEnable = true;
|
|
|
priv->ieee80211->CTSToSelfTH = CTSToSelfTHVal;
|
|
@@ -2354,7 +2354,7 @@ static void dm_init_ctstoself(struct net_device *dev)
|
|
|
|
|
|
static void dm_ctstoself(struct net_device *dev)
|
|
|
{
|
|
|
- struct r8192_priv *priv = ieee80211_priv((struct net_device *)dev);
|
|
|
+ struct r8192_priv *priv = ieee80211_priv(dev);
|
|
|
PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo;
|
|
|
static unsigned long lastTxOkCnt;
|
|
|
static unsigned long lastRxOkCnt;
|