p54: swap short slot time dcf values
authorChristian Lamparter <chunkeey@web.de>
Thu, 7 Aug 2008 08:22:28 +0000 (10:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Aug 2008 13:49:04 +0000 (09:49 -0400)
these "magic" values must to be the other way round...

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c

index 2d2d336..83cd85e 100644 (file)
@@ -817,8 +817,8 @@ static void p54_set_vdcf(struct ieee80211_hw *dev)
 
        if (dev->conf.flags & IEEE80211_CONF_SHORT_SLOT_TIME) {
                vdcf->slottime = 9;
-               vdcf->magic1 = 0x00;
-               vdcf->magic2 = 0x10;
+               vdcf->magic1 = 0x10;
+               vdcf->magic2 = 0x00;
        } else {
                vdcf->slottime = 20;
                vdcf->magic1 = 0x0a;