Staging: wlan-ng: fix style in p80211netdev.c
Signed-off-by: Edgardo Hames <ehames@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
e7d122b55d
commit
f34e3e7b2c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user