Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236461
b: refs/heads/master
c: 7e901dc
h: refs/heads/master
i:
  236459: 5fe8538
v: v3
  • Loading branch information
Ilia Mirkin authored and Greg Kroah-Hartman committed Mar 14, 2011
1 parent 2c45208 commit 48ae26c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 76be349c0045073bbed4f669f87e36b1d8fda256
refs/heads/master: 7e901dcd73d73230ad0e66e35fb6f1da244e41f7
7 changes: 2 additions & 5 deletions trunk/drivers/staging/rtl8192e/ieee80211/ieee80211_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,8 @@ void free_ieee80211(struct net_device *dev)
{
struct ieee80211_device *ieee = netdev_priv(dev);
int i;
if (ieee->pHTInfo != NULL)
{
kfree(ieee->pHTInfo);
ieee->pHTInfo = NULL;
}
kfree(ieee->pHTInfo);
ieee->pHTInfo = NULL;
RemoveAllTS(ieee);
ieee80211_softmac_free(ieee);
del_timer_sync(&ieee->crypt_deinit_timer);
Expand Down
7 changes: 2 additions & 5 deletions trunk/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1411,11 +1411,8 @@ int ieee80211_rtl_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
return 1;

rx_dropped:
if (rxb != NULL)
{
kfree(rxb);
rxb = NULL;
}
kfree(rxb);
rxb = NULL;
stats->rx_dropped++;

/* Returning 0 indicates to caller that we have not handled the SKB--
Expand Down
7 changes: 2 additions & 5 deletions trunk/drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -2818,11 +2818,8 @@ void ieee80211_softmac_free(struct ieee80211_device *ieee)
{
down(&ieee->wx_sem);
#ifdef ENABLE_DOT11D
if(NULL != ieee->pDot11dInfo)
{
kfree(ieee->pDot11dInfo);
ieee->pDot11dInfo = NULL;
}
kfree(ieee->pDot11dInfo);
ieee->pDot11dInfo = NULL;
#endif
del_timer_sync(&ieee->associate_timer);

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/rtl8192e/ieee80211/ieee80211_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,6 @@ int ieee80211_wx_set_gen_ie(struct ieee80211_device *ieee, u8 *ie, size_t len)
ieee->wpa_ie_len = len;
}
else{
if (ieee->wpa_ie)
kfree(ieee->wpa_ie);
ieee->wpa_ie = NULL;
ieee->wpa_ie_len = 0;
Expand Down

0 comments on commit 48ae26c

Please sign in to comment.