mac80211: proper bss private data handling
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 23 Dec 2009 12:15:39 +0000 (13:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:54:59 +0000 (16:54 -0500)
commit0c1ad2cac1cb54db38fd4cc1822965071ee83f6e
treed5af632483584b7579ad8b24ba870f9b18e1aaa7
parent8e664fb3fd2b04e3ac5fad7f046000ba54e0e275
mac80211: proper bss private data handling

cfg80211 offers private data for each BSS struct,
which mac80211 uses. However, mac80211 uses internal
and external (cfg80211) BSS pointers interchangeably
and has a hack to put the cfg80211 bss struct into
the private struct.

Remove this hack, properly converting between the
pointers wherever necessary.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/mlme.c
net/mac80211/scan.c
net/mac80211/work.c