]> 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)
commit9187a07beeed439450a2eb7cc9c6cb227127b317
tree4ec8399914d37eb20d2231bb16cf5e7bdfc80eab
parentf0490d87b1a76d9d5ca34f2193c5ea52f38d76b7
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