Author: marek Date: 2010-05-01 20:57:32 +0200 (Sat, 01 May 2010) New Revision: 1645
Modified: trunk/batman-adv-kernelland/send.c Log: batman-adv: multiple assignments should be avoided
Signed-off-by: Andrea Gelmini andrea.gelmini@gelma.net Signed-off-by: Greg Kroah-Hartman gregkh@suse.de
Modified: trunk/batman-adv-kernelland/send.c =================================================================== --- trunk/batman-adv-kernelland/send.c 2010-05-01 18:57:27 UTC (rev 1644) +++ trunk/batman-adv-kernelland/send.c 2010-05-01 18:57:32 UTC (rev 1645) @@ -130,7 +130,8 @@ if (batman_if->if_status != IF_ACTIVE) return;
- packet_num = buff_pos = 0; + packet_num = 0; + buff_pos = 0; batman_packet = (struct batman_packet *) (forw_packet->packet_buff);