RTW_FLAG_RUNNING
if (!test_bit(RTW_FLAG_RUNNING, rtwdev->flags))
if (!test_bit(RTW_FLAG_RUNNING, rtwdev->flags))
if (!test_bit(RTW_FLAG_RUNNING, rtwdev->flags)) {
if (!test_bit(RTW_FLAG_RUNNING, rtwdev->flags))
set_bit(RTW_FLAG_RUNNING, rtwdev->flags);
clear_bit(RTW_FLAG_RUNNING, rtwdev->flags);
if (!test_bit(RTW_FLAG_RUNNING, rtwdev->flags))