kernel-aes67/drivers/net/wireless/ath/carl9170
Dan Carpenter dc76bb1e12 carl9170: clean up a clamp() call
The parameter order for clamp is supposed to be clamp(value, low, high).
When we write it in this order it's equivalent to
min(head->plcp[3] & 0x7f, 75) which works in this context where the min
is zero.  But it's not a correct use of the API.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-02-19 17:18:14 +02:00
..
carl9170.h
cmd.c
cmd.h
debug.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
debug.h
eeprom.h
fw.c
fwcmd.h
fwdesc.h
hw.h
Kconfig
led.c
mac.c
main.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
Makefile carl9170: Makefile, Kconfig files and MAINTAINERS 2010-09-14 16:03:42 -04:00
phy.c
phy.h
rx.c carl9170: clean up a clamp() call 2019-02-19 17:18:14 +02:00
tx.c carl9170: tx: mark expected switch fall-throughs 2018-11-05 13:22:35 +02:00
usb.c carl9170: constify usb_device_id 2017-08-10 11:55:56 +03:00
version.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wlan.h