mac80211: fix parameter confusion when finding IBSS
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 20 May 2009 07:05:10 +0000 (09:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:36 +0000 (14:46 -0400)
commitdb67645db623caa12976293caa95fcd33d8c11b4
treee85cd5cb8d9e6a47be5f9fdd3f7fbd59c81b0a14
parentc26c2e576dc05d90e8eadc0c6ca273ed7aa12535
mac80211: fix parameter confusion when finding IBSS

When I fixed the crypto bit I must have done the negative
test only -- it is quite clearly impossible to find _any_
IBSS to join with the parameters put the wrong way around.

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