mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-15 22:41:38 +00:00
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>
This commit is contained in:
committed by
David S. Miller
parent
a1dc1d6a05
commit
71046abfff
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user