diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-03-01 23:03:05 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-03 17:52:21 -0800 |
commit | 71046abfffe9d34ae90c82cf9c8e44355c2e114c (patch) | |
tree | 25164161f82b117ff683f9a075663ffdb50d4f41 /net/qrtr/ns.c | |
parent | a1dc1d6a05a730b62b45828975a088db577d3139 (diff) | |
download | linux-71046abfffe9d34ae90c82cf9c8e44355c2e114c.tar.gz linux-71046abfffe9d34ae90c82cf9c8e44355c2e114c.tar.bz2 linux-71046abfffe9d34ae90c82cf9c8e44355c2e114c.zip |
net: qrtr: Fix FIXME related to qrtr_ns_init()
The 2 second delay before calling qrtr_ns_init() meant that the remote
processors would register as endpoints in qrtr and the say_hello() call
would therefor broadcast the outgoing HELLO to them. With the HELLO
handshake corrected this delay is no longer needed.
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/qrtr/ns.c')
-rw-r--r-- | net/qrtr/ns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/qrtr/ns.c b/net/qrtr/ns.c index 61a58a35cc91..e7d0fe3f4330 100644 --- a/net/qrtr/ns.c +++ b/net/qrtr/ns.c @@ -693,7 +693,7 @@ static void qrtr_ns_data_ready(struct sock *sk) queue_work(qrtr_ns.workqueue, &qrtr_ns.work); } -void qrtr_ns_init(struct work_struct *work) +void qrtr_ns_init(void) { struct sockaddr_qrtr sq; int ret; |