]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: rename p2p_wdev_mutex to vif_mutex
authorLior David <liord@codeaurora.org>
Mon, 26 Feb 2018 18:12:16 +0000 (20:12 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Feb 2018 16:50:40 +0000 (18:50 +0200)
commit41ef8958f21ba9adb96ef50114e15cd9bc994d1d
tree28f84c02c8bfc4272051957c79bad97c08188fa2
parentf595e0dbe0f60026ebd7bf00ddfb13ca1c6a2fc4
wil6210: rename p2p_wdev_mutex to vif_mutex

As more support is added for multiple VIFs, there is a need
to protect the wil6210_vif structure from access while it is
deleted (mainly from del_virtual_intf operation).
Instead of adding another mutex, use p2p_wdev_mutex and rename
it to vif_mutex to reflect the added role. Its existing roles
are similar so it extends nicely (for example it protects the
scan_request member which is also a member of wil6210_vif).

Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/cfg80211.c
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/p2p.c
drivers/net/wireless/ath/wil6210/wil6210.h
drivers/net/wireless/ath/wil6210/wmi.c