[haiku-commits] haiku: hrev52245 - src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 17 Aug 2018 12:13:09 -0400 (EDT)

hrev52245 adds 1 changeset to branch 'master'
old head: bd43e4ae23087fedf7261d62cbfcf85241b957ab
new head: dd54d46895b885d73346954133e41d0d8ebc7bae
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=dd54d46895b8+%5Ebd43e4ae2308

----------------------------------------------------------------------------

dd54d46895b8: realtekwifi: Move LOCK call out into the generic path.
  
  Should fix a "mutex not locked" KDL reported by Begasus.

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52245
Commit:      dd54d46895b885d73346954133e41d0d8ebc7bae
URL:         https://git.haiku-os.org/haiku/commit/?id=dd54d46895b8
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Fri Aug 17 16:12:36 2018 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
.../kernel/drivers/network/wlan/realtekwifi/dev/rtwn/if_rtwn.c      | 2 +-

----------------------------------------------------------------------------

diff --git 
a/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/if_rtwn.c 
b/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/if_rtwn.c
index 6acc2ad0f9..9b79231627 100644
--- a/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/if_rtwn.c
+++ b/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/if_rtwn.c
@@ -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);


Other related posts:

  • » [haiku-commits] haiku: hrev52245 - src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn - waddlesplash