diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-02-27 09:56:40 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-06 15:30:47 -0500 |
commit | 03e4497ebeaa8011eb0ab0a54496ed6413b9d1a4 (patch) | |
tree | 96eb34d88a56f84f06f155e1d4a0d6d34d0f7933 /.gitignore | |
parent | dbbea6713d6096cd1c411cb453a6b71292c78b33 (diff) |
mac80211: fix sta_info mesh timer bug
I noticed a bug I introduced when mesh is enabled: sta_info_destroy()
will end up calling cancel_timer() on a timer that has never been
initialized because the timer is only initialized in mesh_plink_alloc(),
not in sta_info_alloc(). This patch moves the initialization of all mesh
related fields into sta_info_alloc(), adds a bit of sanity checking to
the cfg80211 handlers and sta_info_insert() and makes mesh_plink_alloc()
a static helper function that is only used from the mesh plink code.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions