Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 893875f2 authored by Lior David's avatar Lior David Committed by Maya Erez
Browse files

wil6210: fix call to wil6210_disconnect during unload



Move the call to wil6210_disconnect so it will be called
before unregister_netdevice. This is because it calls
netif_carrier_off which is forbidden to call on an
unregistered net device. Calling netif_carrier_off can
add a link watch event which might be handled after
net device was freed, causing a kernel oops.

Change-Id: I08295a779367eb6ac86e4b60735a331505e70b39
Signed-off-by: default avatarLior David <liord@codeaurora.org>
Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Git-commit: 9861bf3b818fbe810442b89230b80c0385ef9e04
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
parent c57c9844
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment