linux/drivers/staging/wfx
Jérôme Pouiller 29de523a62 staging: wfx: fix coherency of hif_scan() prototype
The function hif_scan() return the timeout for the completion of the
scan request. It is the only function from hif_tx.c that return another
thing than just an error code. This behavior is not coherent with the
rest of file. Worse, if value returned is positive, the caller can't
make say if it is a timeout or the value returned by the hardware.

Uniformize API with other HIF functions, only return the error code and
pass timeout with parameters.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200529121256.1045521-1-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-16 21:22:51 +02:00
..
Documentation/devicetree/bindings/net/wireless Merge 5.6-rc7 into staging-next 2020-03-23 08:01:20 +01:00
bh.c staging: wfx: fix endianness of the field 'num_tx_confs' 2020-05-13 13:49:45 +02:00
bh.h staging: wfx: introduce a way to poll IRQ 2020-05-13 13:26:41 +02:00
bus_sdio.c staging: wfx: apply 80-columns rule to strings 2020-05-15 15:50:39 +02:00
bus_spi.c staging: wfx: poll IRQ during init 2020-05-13 13:26:41 +02:00
bus.h staging: wfx: poll IRQ during init 2020-05-13 13:26:41 +02:00
data_rx.c staging: wfx: fix endianness of the field 'status' 2020-05-13 13:49:45 +02:00
data_rx.h staging: wfx: remove useless header inclusions 2020-05-13 13:26:42 +02:00
data_tx.c staging: wfx: do not declare variables inside loops 2020-05-27 10:18:08 +02:00
data_tx.h staging: wfx: fix the warning "inconsistent notification" 2020-04-28 14:14:28 +02:00
debug.c staging: wfx: add support for tx_power_loop 2020-05-27 10:18:08 +02:00
debug.h
fwio.c staging: wfx: apply 80-columns rule to strings 2020-05-15 15:50:39 +02:00
fwio.h
hif_api_cmd.h staging: wfx: fix endianness of the field 'channel_number' 2020-05-13 13:49:45 +02:00
hif_api_general.h staging: wfx: add support for tx_power_loop 2020-05-27 10:18:08 +02:00
hif_api_mib.h staging: wfx: dual CTS is never necessary 2020-04-23 13:26:03 +02:00
hif_rx.c staging: wfx: add support for tx_power_loop 2020-05-27 10:18:08 +02:00
hif_rx.h
hif_tx_mib.c staging: wfx: check pointers returned by allocations 2020-05-15 15:50:39 +02:00
hif_tx_mib.h staging: wfx: use kernel types instead of c99 ones 2020-05-13 13:26:43 +02:00
hif_tx.c staging: wfx: fix coherency of hif_scan() prototype 2020-06-16 21:22:51 +02:00
hif_tx.h staging: wfx: fix coherency of hif_scan() prototype 2020-06-16 21:22:51 +02:00
hwio.c staging: wfx: fix use of cpu_to_le32 instead of le32_to_cpu 2020-05-13 13:49:42 +02:00
hwio.h
Kconfig
key.c staging: wfx: remove spaces after cast operator 2020-05-13 13:26:43 +02:00
key.h staging: wfx: keys are kept during whole firmware life 2020-04-23 13:26:05 +02:00
main.c staging: wfx: add support for tx_power_loop 2020-05-27 10:18:08 +02:00
main.h staging: wfx: use kernel types instead of c99 ones 2020-05-13 13:26:43 +02:00
Makefile staging: wfx: place hif_tx_mib functions into a .c file 2020-04-13 14:32:38 +02:00
queue.c staging: wfx: drop useless loop 2020-06-16 21:22:51 +02:00
queue.h staging: wfx: drop unused function wfx_pending_requeue() 2020-05-27 10:18:08 +02:00
scan.c staging: wfx: fix coherency of hif_scan() prototype 2020-06-16 21:22:51 +02:00
scan.h staging: wfx: simplify wfx_scan_complete() 2020-01-16 20:59:50 +01:00
secure_link.h staging: wfx: ensure that received hif messages are never modified 2019-12-18 15:56:04 +01:00
sta.c staging: wfx: split wfx_get_ps_timeout() from wfx_update_pm() 2020-05-27 10:18:09 +02:00
sta.h staging: wfx: rename wfx_do_unjoin() into wfx_reset() 2020-05-15 16:00:52 +02:00
TODO staging: wfx: update TODO 2020-05-13 13:49:45 +02:00
traces.h staging: wfx: Typo fix 2020-05-19 16:15:39 +02:00
wfx.h staging: wfx: add support for tx_power_loop 2020-05-27 10:18:08 +02:00