projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
266478d
)
staging: vt6656: use free_netdev instead of kfree
author
Hema Prathaban
<hemaklnce@gmail.com>
Sat, 11 May 2013 17:09:47 +0000
(22:39 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 7 Jun 2013 19:52:25 +0000
(12:52 -0700)
commit
0a438d5b381e2bdfd5e02d653bf46fcc878356e3
upstream.
use free_netdev() instead of kfree(pDevice->apdev)
Signed-off-by: Hema Prathaban <hemaklnce@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/hostap.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/hostap.c
b/drivers/staging/vt6656/hostap.c
index bc5e9da475862bff35d321897a247234e66d5ac0..a94e66f52b30c0ed19c28c3d8045433dd0a2e46e 100644
(file)
--- a/
drivers/staging/vt6656/hostap.c
+++ b/
drivers/staging/vt6656/hostap.c
@@
-133,7
+133,7
@@
static int hostap_disable_hostapd(struct vnt_private *pDevice, int rtnl_locked)
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "%s: Netdevice %s unregistered\n",
pDevice->dev->name, pDevice->apdev->name);
}
-
kfree
(pDevice->apdev);
+
free_netdev
(pDevice->apdev);
pDevice->apdev = NULL;
pDevice->bEnable8021x = false;
pDevice->bEnableHostWEP = false;