]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: dont add BSS when creating IBSS
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 10 Feb 2009 20:25:56 +0000 (21:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Feb 2009 18:45:51 +0000 (13:45 -0500)
commit99cf5f5f3571ce3a837e379d3b87bf5ddf54f17d
treecde967301cfcb781d1427112b40b7f7061d2df70
parent2a5193119269062608582418deba7af82844159a
mac80211: dont add BSS when creating IBSS

There's no need to create a BSS struct only to pass it to
ieee80211_sta_join_ibss, so refactor this function into
__ieee80211_sta_join_ibss which takes all the relevant
paramters, and ieee80211_sta_join_ibss which takes a BSS
struct (used when joining an IBSS that already has other
members).

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