Commit f34e3e7b authored by Edgardo Hames's avatar Edgardo Hames Committed by Greg Kroah-Hartman

Staging: wlan-ng: fix style in p80211netdev.c

Signed-off-by: default avatarEdgardo Hames <ehames@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e7d122b5
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment