summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2013-05-10 10:29:24 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-05-10 10:29:24 -0400
commit4f81d715b90b7ebe049dd906511c47956086ad44 (patch)
tree80810bd165359e940a30ac4852f95a628bbb1610 /drivers/net/wireless/mwifiex/main.c
parent70eba4226d9718946941c7be0c8cb66d431e7686 (diff)
parentccd384b10420ac81ba3fb9b0a7d18272c7173552 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.c')
-rw-r--r--drivers/net/wireless/mwifiex/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.c b/drivers/net/wireless/mwifiex/main.c
index 121443a0f2a..2eb88ea9acf 100644
--- a/drivers/net/wireless/mwifiex/main.c
+++ b/drivers/net/wireless/mwifiex/main.c
@@ -655,6 +655,7 @@ void mwifiex_init_priv_params(struct mwifiex_private *priv,
struct net_device *dev)
{
dev->netdev_ops = &mwifiex_netdev_ops;
+ dev->destructor = free_netdev;
/* Initialize private structure */
priv->current_key_index = 0;
priv->media_connected = false;