projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ifx adsl tools
[openwrt.git]
/
package
/
b43
/
src
/
xmit.c
diff --git
a/package/b43/src/xmit.c
b/package/b43/src/xmit.c
index e6174b6f11fb5f0aebdc94f73e670952ced66c26..0bd6f8a348a8a195821ff8ec5721c167b0443bca 100644
(file)
--- a/
package/b43/src/xmit.c
+++ b/
package/b43/src/xmit.c
@@
-121,10
+121,12
@@
void b43_generate_plcp_hdr(struct b43_plcp_hdr4 *plcp,
__u8 *raw = plcp->raw;
if (b43_is_ofdm_rate(bitrate)) {
__u8 *raw = plcp->raw;
if (b43_is_ofdm_rate(bitrate)) {
- *data = b43_plcp_get_ratecode_ofdm(bitrate);
+ u32 d;
+
+ d = b43_plcp_get_ratecode_ofdm(bitrate);
B43_WARN_ON(octets & 0xF000);
B43_WARN_ON(octets & 0xF000);
-
*data
|= (octets << 5);
- *data = cpu_to_le32(
*data
);
+
d
|= (octets << 5);
+ *data = cpu_to_le32(
d
);
} else {
u32 plen;
} else {
u32 plen;