[Prism54-devel] [Bug 73] New: First four management packets to the card cause timeout
bugzilla-daemon@mcgrof.com
bugzilla-daemon@mcgrof.com
Thu, 18 Mar 2004 02:33:55 +0000 (UTC)
http://prism54.org/cgi-bin/bugzilla/show_bug.cgi?id=73
Summary: First four management packets to the card cause timeout
Product: prim54
Version: 1.0.2.2
Platform: ppc
OS/Version: Linux 2.4
Status: NEW
Severity: normal
Priority: P2
Component: Device Driver
AssignedTo: prism54-devel@prism54.org
ReportedBy: victor@kiyon.com
The first four times you attempt to send a management packet to the attached
802.11g card, you get a timeout error. You may also get an "out of memory" error.
The problem occurs on a big-endian PowerPC platform.
I have found the cause of the problem. In the islpci_mgmt_rx_fill() function in
islpci_mgt.c, there are the following three lines:
frag->size = MGMT_FRAME_SIZE;
frag->flags = 0;
frag->address = buf->pci_addr;
They should read as follows:
frag->size = cpu_to_le16(MGMT_FRAME_SIZE);
frag->flags = 0;
frag->address = cpu_to_le32(buf->pci_addr);
The most likely reason this problem was not encountered before is that most
users are running this driver on the x86 platform, which is little-endian. The
above bug will only occur on a big-endian platform.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.