staging: rtl8188eu: use safe iterator in rtw_acl_remove_sta

Use list_for_each_entry_safe, we may delete list items while iterating
over the list.

Fixes: 23017c8842 ("staging: rtl8188eu: Use list iterators and helpers")
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210517201826.25150-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Martin Kaiser 2021-05-17 22:18:24 +02:00 • committed by Greg Kroah-Hartman
commit b0f2044c61