Hi, in src/sys/dev/pcmcia/if_ray.c, at l.1018: - - - -
case SIOCG80211NWID:
RAY_DPRINTF(("%s: ioctl: cmd SIOCG80211NWID\n", ifp->if_xname));
error = copyout(&sc->sc_cnwid, ifr->ifr_data,
sizeof(sc->sc_cnwid));
break; <------------------------------
#ifdef RAY_DO_SIGLEV
error = copyout(sc->sc_siglevs, ifr->ifr_data,
sizeof sc->sc_siglevs);
break;
#endif
default:
[...]
- - - -
The code in the 'ifdef' is never reached, because of the 'break'. Found
by my scanner.
