Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375505
b: refs/heads/master
c: f16fdc9
h: refs/heads/master
i:
  375503: b493715
v: v3
  • Loading branch information
Amitkumar Karwar authored and John W. Linville committed May 8, 2013
1 parent 65bd0dd commit 7d460a4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 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: 48795424acff7215d5eac0b52793a2c1eb3a6283
refs/heads/master: f16fdc9d2dc1e5b270e9a08377587e831e0d36ac
3 changes: 0 additions & 3 deletions trunk/drivers/net/wireless/mwifiex/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2234,9 +2234,6 @@ int mwifiex_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev)
if (wdev->netdev->reg_state == NETREG_REGISTERED)
unregister_netdevice(wdev->netdev);

if (wdev->netdev->reg_state == NETREG_UNREGISTERED)
free_netdev(wdev->netdev);

/* Clear the priv in adapter */
priv->netdev = NULL;

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/mwifiex/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7d460a4

Please sign in to comment.