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)
commit35946a571099a50d2595c8866f07617d29558f53
tree6ebcff064919ba40cef1fab8b42c17efc4c37e2d
parente603d9d824ff0eda98a65708a7e82112becf2dca
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