Skip to content

Commit

Permalink
Staging: wlan-ng: Fix wrong #ifdef #endif sequence
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maximiliano David Bustos authored and Greg Kroah-Hartman committed Nov 10, 2010
1 parent 34a488c commit c3444e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/wlan-ng/p80211netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@ static int p80211netdev_ethtool(wlandevice_t *wlandev, void __user *useraddr)
if (copy_to_user(useraddr, &edata, sizeof(edata)))
return -EFAULT;
return 0;
}
#endif
}

return -EOPNOTSUPP;
}
Expand Down

0 comments on commit c3444e5

Please sign in to comment.