Files
kernel-starfive-jh7110/net/mac80211
Johannes Berg 03e4497ebe 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>
2008-03-06 15:30:47 -05:00
..
2007-11-02 08:47:06 +01:00
2008-03-06 15:30:47 -05:00
2007-05-05 11:46:38 -07:00
2008-03-06 15:30:47 -05:00
2008-03-06 15:30:44 -05:00
2008-03-06 15:30:47 -05:00
2008-03-06 15:30:43 -05:00
2008-03-06 15:30:47 -05:00
2007-10-10 16:53:16 -07:00
2007-10-10 16:53:16 -07:00
2008-03-06 15:30:46 -05:00
2008-03-06 15:30:46 -05:00
2008-03-06 15:30:46 -05:00
2008-02-29 15:19:17 -05:00
2008-03-06 15:30:46 -05:00
2008-03-06 15:30:46 -05:00