linux_old1/drivers/net/wireless/orinoco
Andrzej Hajda e79dd09b60 orinoco: fix checking for default value
Thresholds uses -1 to indicate that default value should be used.
Since thresholds are unsigned sign checking makes no sense.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-22 16:14:32 -07:00
..
Kconfig cfg80211-wext: export symbols only when needed 2015-02-28 21:31:09 +01:00
Makefile
airport.c orinoco: constify of_device_id array 2015-03-17 15:00:22 -04:00
cfg.c orinoco: fix checking for default value 2015-09-22 16:14:32 -07:00
cfg.h
fw.c
fw.h
hermes.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
hermes.h
hermes_dld.c
hermes_dld.h
hermes_rid.h
hw.c cfg80211: constify more pointers in the cfg80211 API 2014-05-19 17:53:16 +02:00
hw.h cfg80211: constify more pointers in the cfg80211 API 2014-05-19 17:53:16 +02:00
main.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
main.h
mic.c
mic.h
orinoco.h orinoco: Remove extern from function prototypes 2013-09-24 18:06:22 -07:00
orinoco_cs.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
orinoco_nortel.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
orinoco_pci.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
orinoco_pci.h net/trivial: replace numeric with standard PM state macros 2013-06-28 22:11:48 -07:00
orinoco_plx.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
orinoco_tmd.c orinoco: orinoco_tmd use msecs_to_jiffies for conversion 2015-02-06 08:45:46 +02:00
orinoco_usb.c orinoco: Do not call wiphy_unregister() from free_orinocodev() 2015-08-13 15:36:47 +03:00
scan.c cfg80211: allow passing frame type to cfg80211_inform_bss() 2014-08-26 11:16:02 +02:00
scan.h
spectrum_cs.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
wext.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
wext.h