rsi: use separate mutex lock for receive thread
Deadlock issue is observed during our stress tests. The root cause for the issue is same lock is used between tx and rx threads. This patch adds a separate mutex lock for rx thread to resolve the problem. Signed-off-by: Karun Eagalapati <karun256@gmail.com> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
ebf084ea0e
commit
6c409cad3d
@@ -181,6 +181,8 @@ struct rsi_common {
|
||||
struct mutex mutex;
|
||||
/* Mutex used between tx/rx threads */
|
||||
struct mutex tx_rxlock;
|
||||
/* Mutex used for rx thread */
|
||||
struct mutex rx_lock;
|
||||
u8 endpoint;
|
||||
|
||||
/* Channel/band related */
|
||||
|
Reference in New Issue
Block a user