All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Staging: wlan-ng: fix style in p80211netdev.c
@ 2010-07-22  1:31 ehames
  0 siblings, 0 replies; only message in thread
From: ehames @ 2010-07-22  1:31 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel, ehames

From: Edgardo Hames <ehames@gmail.com>

Signed-off-by: Edgardo Hames <ehames@gmail.com>
---
 drivers/staging/wlan-ng/p80211netdev.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c
index 31308b4..ead8a35 100644
--- a/drivers/staging/wlan-ng/p80211netdev.c
+++ b/drivers/staging/wlan-ng/p80211netdev.c
@@ -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;
 	}
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-22  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22  1:31 [PATCH 1/2] Staging: wlan-ng: fix style in p80211netdev.c ehames

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.