]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mrf24j40: Move INIT_COMPLETION() to before packet transmission
authorAlan Ott <alan@signal11.us>
Sun, 6 Oct 2013 03:52:22 +0000 (23:52 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Oct 2013 19:32:13 +0000 (15:32 -0400)
commit9757f1d2e0b4e7ff59e76c2fadbf819e18f3f884
treea279cc4966286b7ee5a9ac5775e3a9747da66936
parent8cc27d174b6502a4a9dc6186f35bf1351a6e200e
mrf24j40: Move INIT_COMPLETION() to before packet transmission

This avoids a race condition where complete(tx_complete) could be called
before tx_complete is initialized.

Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/mrf24j40.c