]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: free_priv for BSS info
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 10 Feb 2009 20:25:57 +0000 (21:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Feb 2009 18:45:53 +0000 (13:45 -0500)
commit5080dee64c0128e93cae90e529d8ce3384cce59b
tree11d4666d578dc6f9ee4c57dfe3fb4e8498d9ed79
parent72c309e315e22feb6f8adca749a180850c2ebcb6
cfg80211: free_priv for BSS info

When cfg80211 users have their own allocated data in the per-BSS
private data, they will need to free this when the BSS struct is
destroyed. Add a free_priv method and fix one place where the BSS
was kfree'd rather than released properly.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/wireless/core.c
net/wireless/scan.c