summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2013-05-29 14:50:45 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-05-29 14:50:45 -0400
commit531efffc3e3ff52d732c8fa6f32e084e9c447612 (patch)
tree79c301b2c8b5400a39c95e034764cf7a208a16a2 /drivers/net/wireless/mwifiex/main.c
parentbbf71a8f35cf52e97ba129401f82ccefd249c757 (diff)
parentb571a69745dc90aec3d0505a7ceac2702a93861b (diff)
downloadblackbird-op-linux-531efffc3e3ff52d732c8fa6f32e084e9c447612.tar.gz
blackbird-op-linux-531efffc3e3ff52d732c8fa6f32e084e9c447612.zip
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next
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 29d83f0c1fb8..5bc7ef8d04d6 100644
--- a/drivers/net/wireless/mwifiex/main.c
+++ b/drivers/net/wireless/mwifiex/main.c
@@ -669,6 +669,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;
OpenPOWER on IntegriCloud