Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3444e50 authored by Maximiliano David Bustos's avatar Maximiliano David Bustos Committed by Greg Kroah-Hartman
Browse files

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: default avatarMaximiliano David Bustos <md.bustos90@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 34a488c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -522,8 +522,8 @@ static int p80211netdev_ethtool(wlandevice_t *wlandev, void __user *useraddr)
		if (copy_to_user(useraddr, &edata, sizeof(edata)))
		if (copy_to_user(useraddr, &edata, sizeof(edata)))
			return -EFAULT;
			return -EFAULT;
		return 0;
		return 0;
	}
#endif
#endif
	}


	return -EOPNOTSUPP;
	return -EOPNOTSUPP;
}
}