Commit:     b63bde7bb75f74acf974f43dc2be8798be115007
Parent:     6c55aa97359af4b503a8baf914de48f2406a895f
Author:     Johannes Berg <[EMAIL PROTECTED]>
AuthorDate: Tue Aug 28 17:01:55 2007 -0400
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:48:55 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Cc: Daniel Drake <[EMAIL PROTECTED]>
    Acked-by: Michael Wu <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/mac80211/ieee80211_ioctl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
index 8296e7d..d48f3aa 100644
--- a/net/mac80211/ieee80211_ioctl.c
+++ b/net/mac80211/ieee80211_ioctl.c
@@ -821,7 +821,7 @@ static int ieee80211_ioctl_prism2_param(struct net_device 
-               if (sdata->type != IEEE80211_IF_TYPE_AP) {
+               if (sdata->type == IEEE80211_IF_TYPE_AP) {
                        if (value)
                                sdata->flags |= IEEE80211_SDATA_SHORT_PREAMBLE;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to