diff options
author | Maximiliano David Bustos <md.bustos90@gmail.com> | 2010-11-08 15:34:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-09 19:51:42 -0500 |
commit | c3444e50b211f0c7b680a115fe1485694493dc82 (patch) | |
tree | 4e79dc648d2558bd5859ac93a7bcfe9c8f1c7f8f /drivers/staging/wlan-ng/p80211netdev.c | |
parent | 34a488c1e0eabcea65e846d934fa51860fe66248 (diff) |
Staging: wlan-ng: Fix wrong #ifdef #endif sequence
This patch fixes bug #13820 from bugzilla.kernel.org.
Quote: "If ETHTOOL_GLINK is not defined, the end for switch case is not
to be found."
Signed-off-by: Maximiliano David Bustos <md.bustos90@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211netdev.c')
-rw-r--r-- | drivers/staging/wlan-ng/p80211netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index aa1792c8429..b7b4a733b46 100644 --- a/drivers/staging/wlan-ng/p80211netdev.c +++ b/drivers/staging/wlan-ng/p80211netdev.c | |||
@@ -522,8 +522,8 @@ static int p80211netdev_ethtool(wlandevice_t *wlandev, void __user *useraddr) | |||
522 | if (copy_to_user(useraddr, &edata, sizeof(edata))) | 522 | if (copy_to_user(useraddr, &edata, sizeof(edata))) |
523 | return -EFAULT; | 523 | return -EFAULT; |
524 | return 0; | 524 | return 0; |
525 | } | ||
526 | #endif | 525 | #endif |
526 | } | ||
527 | 527 | ||
528 | return -EOPNOTSUPP; | 528 | return -EOPNOTSUPP; |
529 | } | 529 | } |