summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e/netdev.c
diff options
context:
space:
mode:
authorJérôme Pouiller <jerome.pouiller@silabs.com>2020-05-29 14:12:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-16 21:22:51 +0200
commit29de523a6270a308d12d21f4fecf52dac491e226 (patch)
treed1938469dc4678f05020d7ef0c205dca72079afd /drivers/net/ethernet/intel/e1000e/netdev.c
parent8cf509345096340416708d998bbb71a27c883880 (diff)
downloadlinux-29de523a6270a308d12d21f4fecf52dac491e226.tar.bz2
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>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/netdev.c')
0 files changed, 0 insertions, 0 deletions