Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8331a88 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: fix line over 80 chars in remove_network_from_shadow()



Added changes to avoid line over 80 character issue in
remove_network_from_shadow().

Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 855978bb
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -253,8 +253,9 @@ static void remove_network_from_shadow(struct timer_list *unused)
	int i, j;

	for (i = 0; i < last_scanned_cnt; i++) {
		if (time_after(now, last_scanned_shadow[i].time_scan +
			       (unsigned long)(SCAN_RESULT_EXPIRE))) {
		if (!time_after(now, last_scanned_shadow[i].time_scan +
				(unsigned long)(SCAN_RESULT_EXPIRE)))
			continue;
		kfree(last_scanned_shadow[i].ies);
		last_scanned_shadow[i].ies = NULL;

@@ -265,7 +266,6 @@ static void remove_network_from_shadow(struct timer_list *unused)

		last_scanned_cnt--;
	}
	}

	if (last_scanned_cnt != 0)
		mod_timer(&aging_timer, jiffies + msecs_to_jiffies(AGING_TIME));