mt76: mt7603: add missing initialization for dev->ps_lock
authorFelix Fietkau <nbd@nbd.name>
Tue, 26 Mar 2019 08:34:19 +0000 (09:34 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 12 Apr 2019 18:28:25 +0000 (21:28 +0300)
commit2170e2157d7c5398f84477935553d63a93a1f6b8
tree30afe6ffa8cf4d0bd109f2294438941a388a5888
parent4837696f6b5451242b2095764287b6336e844683
mt76: mt7603: add missing initialization for dev->ps_lock

Fixes lockdep complaint and a potential race condition

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt7603/init.c