Just wondering (maybe I am way off ...).
In kernel code I often see segments like
  lock(thing)
  do stuff
  unlock(thing)
but in drivers/net/wireless/realtek/rtw88/main.c there is:

void rtw_core_stop(struct rtw_dev *rtwdev)
{
        ...
        mutex_unlock(&rtwdev->mutex);
        ...
        mutex_lock(&rtwdev->mutex);
        ...
}

and that seems back-to-front. Is that as should be?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1927808

Title:
  rtw88_8821ce causes freeze

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1927808/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to