summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_urtw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/if_urtw.c')
-rw-r--r--sys/dev/usb/if_urtw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_urtw.c b/sys/dev/usb/if_urtw.c
index ea9c4474536..708c9d6fa7c 100644
--- a/sys/dev/usb/if_urtw.c
+++ b/sys/dev/usb/if_urtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_urtw.c,v 1.41 2013/04/15 09:23:01 mglocker Exp $ */
+/* $OpenBSD: if_urtw.c,v 1.42 2013/07/10 05:59:02 brad Exp $ */
/*-
* Copyright (c) 2009 Martynas Venckus <martynas@openbsd.org>
@@ -3053,7 +3053,7 @@ urtw_8225_rf_set_sens(struct urtw_rf *rf)
struct urtw_softc *sc = rf->rf_sc;
usbd_status error;
- if (rf->sens < 0 || rf->sens > 6)
+ if (rf->sens > 6)
return (-1);
if (rf->sens > 4)