diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 1 | ||||
-rw-r--r-- | include/net/sctp/checksum.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index b3bd00a..559422f 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -322,7 +322,6 @@ struct ieee80211_tx_rate { * @control: union for control data * @status: union for status data * @driver_data: array of driver_data pointers - * @retry_count: number of retries * @ampdu_ack_len: number of aggregated frames. * relevant only if IEEE80211_TX_STATUS_AMPDU was set. * @ampdu_ack_map: block ack bit map for the aggregation. diff --git a/include/net/sctp/checksum.h b/include/net/sctp/checksum.h index b799fb21..2fec3c3 100644 --- a/include/net/sctp/checksum.h +++ b/include/net/sctp/checksum.h @@ -79,5 +79,5 @@ static inline __be32 sctp_update_cksum(__u8 *buffer, __u16 length, __be32 crc32) static inline __be32 sctp_end_cksum(__be32 crc32) { - return ~crc32; + return (__force __be32)~cpu_to_le32((__force u32)crc32); } |