Skip to content

Commit

Permalink
Staging: wlan-ng: fix style in p80211netdev.c
Browse files Browse the repository at this point in the history
Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Edgardo Hames authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent e7d122b commit f34e3e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/wlan-ng/p80211netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,8 @@ int wlan_unsetup(wlandevice_t *wlandev)

if (wlandev->netdev) {
wdev = netdev_priv(wlandev->netdev);
if(wdev->wiphy) wlan_free_wiphy(wdev->wiphy);
if (wdev->wiphy)
wlan_free_wiphy(wdev->wiphy);
free_netdev(wlandev->netdev);
wlandev->netdev = NULL;
}
Expand Down

0 comments on commit f34e3e7

Please sign in to comment.