diff options
| author | Rink Springer <rink@FreeBSD.org> | 2008-11-04 19:28:19 +0000 |
|---|---|---|
| committer | Rink Springer <rink@FreeBSD.org> | 2008-11-04 19:28:19 +0000 |
| commit | 9fbaa8e74d1d3f307fc5aac0462f5e969eb9e258 (patch) | |
| tree | 665cfc63d303a976f5ff30028132480f58ecdac4 | |
| parent | 0551897af215b04e387f8abdb4b2b110cba3e7bd (diff) | |
Notes
| -rw-r--r-- | sys/dev/usb2/wlan/if_zyd2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb2/wlan/if_zyd2.c b/sys/dev/usb2/wlan/if_zyd2.c index 5e72593f17d8..48da310b39ef 100644 --- a/sys/dev/usb2/wlan/if_zyd2.c +++ b/sys/dev/usb2/wlan/if_zyd2.c @@ -392,10 +392,10 @@ zyd_intr_read_callback(struct usb2_xfer *xfer) usb2_copy_out(xfer->frbuffers, 0, &sc->sc_intr_ibuf, actlen); - switch (cmd->code) { - case htole16(ZYD_NOTIF_RETRYSTATUS): + switch (htole16(cmd->code)) { + case ZYD_NOTIF_RETRYSTATUS: goto handle_notif_retrystatus; - case htole16(ZYD_NOTIF_IORD): + case ZYD_NOTIF_IORD: goto handle_notif_iord; default: DPRINTFN(2, "unknown indication: 0x%04x\n", |
