diff options
author | Marco Porsch <marco.porsch@etit.tu-chemnitz.de> | 2012-08-08 07:58:43 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-13 15:28:34 -0400 |
commit | df32381896f5f0c78a371df2e49ab7c776b1a5ba (patch) | |
tree | d0a5cd8f8a7a6bddfab28c4adc735a65c7b3e696 /net/mac80211/aes_cmac.h | |
parent | faa97bd4a43ac69a55029e3b07708bdff0959c07 (diff) | |
download | kernel_goldelico_gta04-df32381896f5f0c78a371df2e49ab7c776b1a5ba.zip kernel_goldelico_gta04-df32381896f5f0c78a371df2e49ab7c776b1a5ba.tar.gz kernel_goldelico_gta04-df32381896f5f0c78a371df2e49ab7c776b1a5ba.tar.bz2 |
mac80211: fix unnecessary beacon update after peering status change
ieee80211_bss_info_change_notify is called everytime a peer link is established
or closed, because the accepting_plinks flag in the meshconf IE *might* have changed.
With this patch the corresponding functions return the BSS_CHANGED_BEACON flag when a beacon update is necessary.
Also it makes mesh_accept_plinks_update the common place to update the accepting_plinks flag.
mesh_accept_plinks_update is called upon plink change and also periodically from ieee80211_mesh_housekeeping.
Thus, it also picks up changes of local->num_sta.
Signed-off-by: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
Acked-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/aes_cmac.h')
0 files changed, 0 insertions, 0 deletions