diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-06-25 14:20:37 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-27 14:49:52 -0400 |
commit | 5f4a6fae46a214c4dce3bd63a6219a5f1c818c78 (patch) | |
tree | 099767a0485c45a7091c3095ecb518acc77bc6f5 /drivers/net | |
parent | 980dfcb93232907034a2c92d62d3a7d6ac7bef44 (diff) | |
download | kernel_samsung_tuna-5f4a6fae46a214c4dce3bd63a6219a5f1c818c78.zip kernel_samsung_tuna-5f4a6fae46a214c4dce3bd63a6219a5f1c818c78.tar.gz kernel_samsung_tuna-5f4a6fae46a214c4dce3bd63a6219a5f1c818c78.tar.bz2 |
prism: islpci_eth.c endianness fix
clock is already cpu-endian (see le32_to_cpu slightly before), so
le64_to_cpu doesn't make much sense.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/prism54/islpci_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/islpci_eth.c b/drivers/net/wireless/prism54/islpci_eth.c index 762e85b..e43bae9 100644 --- a/drivers/net/wireless/prism54/islpci_eth.c +++ b/drivers/net/wireless/prism54/islpci_eth.c @@ -290,7 +290,7 @@ islpci_monitor_rx(islpci_private *priv, struct sk_buff **skb) avs->version = cpu_to_be32(P80211CAPTURE_VERSION); avs->length = cpu_to_be32(sizeof (struct avs_80211_1_header)); - avs->mactime = cpu_to_be64(le64_to_cpu(clock)); + avs->mactime = cpu_to_be64(clock); avs->hosttime = cpu_to_be64(jiffies); avs->phytype = cpu_to_be32(6); /*OFDM: 6 for (g), 8 for (a) */ avs->channel = cpu_to_be32(channel_of_freq(freq)); |