Commit c5b92a2
wifi: ath11k: move locking outside of ath11k_mac_get_fw_stats()
Currently ath11k_mac_get_fw_stats() is acquiring/releasing ar->conf_mutex by itself.
In order to reuse this function in a context where that lock is already taken, move
lock handling to its callers, then the function itself only has to assert it.
There is only one caller now, i.e., ath11k_mac_op_sta_statistics(), so add lock handling
there.
Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37
Signed-off-by: Baochen Qiang <[email protected]>
Reviewed-by: Vasanthakumar Thiagarajan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jeff Johnson <[email protected]>1 parent 81f6416 commit c5b92a2
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9052 | 9052 | | |
9053 | 9053 | | |
9054 | 9054 | | |
9055 | | - | |
| 9055 | + | |
9056 | 9056 | | |
9057 | | - | |
9058 | | - | |
9059 | | - | |
9060 | | - | |
| 9057 | + | |
| 9058 | + | |
9061 | 9059 | | |
9062 | 9060 | | |
9063 | 9061 | | |
| |||
9071 | 9069 | | |
9072 | 9070 | | |
9073 | 9071 | | |
9074 | | - | |
9075 | | - | |
9076 | | - | |
9077 | 9072 | | |
9078 | 9073 | | |
9079 | 9074 | | |
| |||
9111 | 9106 | | |
9112 | 9107 | | |
9113 | 9108 | | |
| 9109 | + | |
9114 | 9110 | | |
9115 | 9111 | | |
9116 | 9112 | | |
| |||
9126 | 9122 | | |
9127 | 9123 | | |
9128 | 9124 | | |
| 9125 | + | |
9129 | 9126 | | |
9130 | 9127 | | |
9131 | 9128 | | |
| |||
0 commit comments