mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
hwsim: fix early bail out processing rules
If a rule was disabled it would cause hwsim to not continue processing frames using rules further in the queue. _Most_ tests only use one rule so this shouldn't have changed their behavior but others which use multiple rules may be effected and the tests have not been running properly.
This commit is contained in:
parent
3bc5728815
commit
e31d6296d8
@ -1204,7 +1204,7 @@ static void process_rules(const struct radio_info_rec *src_radio,
|
||||
struct hwsim_rule *rule = rule_entry->data;
|
||||
|
||||
if (!rule->enabled)
|
||||
return;
|
||||
continue;
|
||||
|
||||
if (!rule->source_any &&
|
||||
!radio_match_addr(src_radio, rule->source) &&
|
||||
|
Loading…
Reference in New Issue
Block a user