commit | 959867fa55d0cb55fb3d08656e5e62607167617f | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Jun 19 13:05:42 2013 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Jun 19 18:55:39 2013 +0200 |
tree | aeac7b16c571f062380fa99508d64df7cc1f4565 | |
parent | 86e8cf98de3e74bbfb0003501e0004bf1e5e2618 [diff] |
cfg80211: require passing BSS struct back to cfg80211_assoc_timeout Doing so will allow us to hold the BSS (not just ref it) over the association process, thus ensuring that it doesn't time out and gets invisible to the user (e.g. in 'iw wlan0 link'.) This also fixes a leak in mac80211 where it doesn't always release the BSS struct properly in all cases where calling this function. This leak was reported by Ben Greear. Signed-off-by: Johannes Berg <johannes.berg@intel.com>