diff options
author | Nick Ledovskikh <nledovskikh@kodofon.vrn.ru> | 2011-01-11 15:35:12 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-19 17:36:08 +0100 |
commit | dcac908babcd8ce21057e476c8df609b28ad2cd8 (patch) | |
tree | d5d1a0dd2560402684b23087166b9585cd48ad5d | |
parent | ath5k: Fix return codes for eeprom read functions. (diff) | |
download | linux-dcac908babcd8ce21057e476c8df609b28ad2cd8.tar.xz linux-dcac908babcd8ce21057e476c8df609b28ad2cd8.zip |
mac80211:mesh_mpp_table_grow call should depend on MESH_WORK_GROW_MPP_TABLE flag.
Replace MESH_WORK_GROW_MPATH_TABLE by MESH_WORK_GROW_MPP_TABLE in
mesh_mpp_table_grow call condition.
(Clearly the original was a typo... -- JWL)
Signed-off-by: Nickolay Ledovskikh <nledovskikh@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/mac80211/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index ca3af4685b0a..2563fd1ea998 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c @@ -645,7 +645,7 @@ void ieee80211_mesh_work(struct ieee80211_sub_if_data *sdata) if (test_and_clear_bit(MESH_WORK_GROW_MPATH_TABLE, &ifmsh->wrkq_flags)) mesh_mpath_table_grow(); - if (test_and_clear_bit(MESH_WORK_GROW_MPATH_TABLE, &ifmsh->wrkq_flags)) + if (test_and_clear_bit(MESH_WORK_GROW_MPP_TABLE, &ifmsh->wrkq_flags)) mesh_mpp_table_grow(); if (test_and_clear_bit(MESH_WORK_HOUSEKEEPING, &ifmsh->wrkq_flags)) |