Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Maximiliano David Bustos and committed by
Greg Kroah-Hartman
c3444e50 34a488c1

+1 -1
+1 -1
drivers/staging/wlan-ng/p80211netdev.c
··· 522 522 if (copy_to_user(useraddr, &edata, sizeof(edata))) 523 523 return -EFAULT; 524 524 return 0; 525 - } 526 525 #endif 526 + } 527 527 528 528 return -EOPNOTSUPP; 529 529 }