[MAC80211]: fix preamble setting
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Aug 2007 21:01:55 +0000 (17:01 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:55 +0000 (16:48 -0700)
commitb63bde7bb75f74acf974f43dc2be8798be115007
tree37e855401ec152bba8a2300b5f20de45aaa2d5ee
parent6c55aa97359af4b503a8baf914de48f2406a895f
[MAC80211]: fix preamble setting

It looks like in commit 28487a90 the condition was unintentionally
negated by moving some code, fix it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Daniel Drake <dsd@gentoo.org>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/ieee80211_ioctl.c