realtekwifi: Move LOCK call out into the generic path.

Should fix a "mutex not locked" KDL reported by Begasus.
This commit is contained in:
Augustin Cavalier 2018-08-17 12:12:36 -04:00
parent bd43e4ae23
commit dd54d46895

View File

@ -3478,8 +3478,8 @@ rtwn_intr(void *arg)
uint32_t status;
int i;
#ifndef __HAIKU__
RTWN_LOCK(sc);
#ifndef __HAIKU__
status = rtwn_read_4(sc, R92C_HISR);
if (status == 0 || status == 0xffffffff) {
RTWN_UNLOCK(sc);