]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use correct address for mesh Path Error
authorJavier Cardona <javier@cozybit.com>
Tue, 14 Jul 2009 00:00:10 +0000 (17:00 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Jul 2009 16:07:40 +0000 (12:07 -0400)
commit754e9790f5d66daf730d93c2bccab45bcdfcf731
tree6ebcff064919ba40cef1fab8b42c17efc4c37e2d
parent45213501b91b094710b9be8526a699c22d7d6e10
mac80211: use correct address for mesh Path Error

For forwarded frames, we save the precursor address in addr1 in case it
needs to be used to send a Path Error.  mesh_path_discard_frame,
however, was using addr2 instead of addr1 to send Path Error frames, so
correct that and also make the comment regarding this more clear.

Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c