mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 16:53:54 +08:00
batman-adv: Fix conditional statements indentation
commit 29b9256e6631 ("batman-adv: consider outgoing interface in OGM sending") incorrectly indented the interface check code. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
This commit is contained in:
parent
5274cd68d7
commit
87b40f534d
@ -968,7 +968,7 @@ static void batadv_iv_ogm_schedule(struct batadv_hard_iface *hard_iface)
|
|||||||
rcu_read_lock();
|
rcu_read_lock();
|
||||||
list_for_each_entry_rcu(tmp_hard_iface, &batadv_hardif_list, list) {
|
list_for_each_entry_rcu(tmp_hard_iface, &batadv_hardif_list, list) {
|
||||||
if (tmp_hard_iface->soft_iface != hard_iface->soft_iface)
|
if (tmp_hard_iface->soft_iface != hard_iface->soft_iface)
|
||||||
continue;
|
continue;
|
||||||
batadv_iv_ogm_queue_add(bat_priv, *ogm_buff,
|
batadv_iv_ogm_queue_add(bat_priv, *ogm_buff,
|
||||||
*ogm_buff_len, hard_iface,
|
*ogm_buff_len, hard_iface,
|
||||||
tmp_hard_iface, 1, send_time);
|
tmp_hard_iface, 1, send_time);
|
||||||
|
Loading…
Reference in New Issue
Block a user