OSDN Git Service
(root)
/
android-x86
/
external-modules-rtl8723au.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
007f4a2
)
Replace rtw_mfree with kfree
author
Jes Sorensen
<Jes.Sorensen@redhat.com>
Mon, 2 Dec 2013 21:14:49 +0000
(22:14 +0100)
committer
Larry Finger
<Larry.Finger@lwfinger.net>
Mon, 2 Dec 2013 22:00:20 +0000
(16:00 -0600)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
os_dep/os_intfs.c
patch
|
blob
|
history
diff --git
a/os_dep/os_intfs.c
b/os_dep/os_intfs.c
index
5ddff35
..
63a5d24
100644
(file)
--- a/
os_dep/os_intfs.c
+++ b/
os_dep/os_intfs.c
@@
-2410,7
+2410,7
@@
void rtw_ndev_destructor(struct net_device *ndev)
#ifdef CONFIG_IOCTL_CFG80211
if (ndev->ieee80211_ptr)
-
rtw_mfree((u8 *)ndev->ieee80211_ptr, sizeof(struct wireless_dev)
);
+
kfree(ndev->ieee80211_ptr
);
#endif
free_netdev(ndev);
}