Skip to content

Commit

Permalink
p54: swap short slot time dcf values
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Aug 7, 2008
1 parent 0fc9803 commit 5423b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/p54/p54common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5423b2e

Please sign in to comment.