batman-adv: fix lock class for decoding hash in network-coding.c
authorMartin Hundebøll <martin@hundeboll.net>
Tue, 11 Nov 2014 15:22:23 +0000 (16:22 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Tue, 6 Jan 2015 10:05:12 +0000 (11:05 +0100)
commitf44d54077a69b1c990aeef49cf9b813fb274cfee
tree357cf9a006f852e23d21f41d23ac61361e30cfc4
parent2c667a339c7a6f23e1b7e23eed06f2564cff0c91
batman-adv: fix lock class for decoding hash in network-coding.c

batadv_has_set_lock_class() is called with the wrong hash table as first
argument (probably due to a copy-paste error), which leads to false
positives when running with lockdep.

Introduced-by: 612d2b4fe0a1ff2f8389462a6f8be34e54124c05
("batman-adv: network coding - save overheard and tx packets for decoding")

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/network-coding.c