p54: swap short slot time dcf values

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>
This commit is contained in:
Christian Lamparter 2008-08-07 10:22:28 +02:00 committed by John W. Linville
parent 0fc980392e
commit 5423b2ed25

View File

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