]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: refactor mesh peer initialization
authorThomas Pedersen <thomas@cozybit.com>
Thu, 19 Apr 2012 02:23:42 +0000 (19:23 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:34:07 +0000 (15:34 -0400)
commitf5c5f5ccfbdedfec47c5f6968452d5c20c0b589e
tree4ec8399914d37eb20d2231bb16cf5e7bdfc80eab
parent84837e5870834f526464b1cbe71ba7350d0c0eb3
mac80211: refactor mesh peer initialization

This patch unifies the previous two paths toward mesh peer creation a
bit. It also fixes a bug where a peer's changing rates or HT mode
wouldn't register on leaving and then returning to the mesh with a sta
entry still present.

Also clean up locking and clear possibly stale ht cap.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_plink.c