mac80211: Mark a destination sequence number as valid when a PREQ is received.
authorDavid Woo <xinhua_wu@realsil.com.cn>
Wed, 12 Aug 2009 18:03:43 +0000 (11:03 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:14:06 +0000 (09:14 -0400)
commit57ef5ddb456649667438e023f67dd3a3ff3fbed8
tree3b8bc1d0b5553f589ca1da3669251fab3decbc39
parent13311b00117ed1bf903cf8870432504631a7ce77
mac80211: Mark a destination sequence number as valid when a PREQ is received.

If a PREQ frame is received giving us a fresher DSN than what we have, record
the new dsn and mark it as valid.  This patch fixes a bug in the setting of the
MESH_PATH_DSN_VALID flag.

Also, minor fix to coding style on that file.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_hwmp.c