diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 14:38:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 14:38:13 -0500 |
commit | cb18eccff48ef3986d1072964590bce6fec705fb (patch) | |
tree | 777fb1d15e0281341e1e02c9803d989538d346f2 /net/ieee80211/ieee80211_rx.c | |
parent | c827ba4cb49a30ce581201fd0ba2be77cde412c7 (diff) | |
parent | 5ef213f6842277ee1df5659f59fac0ffc9beb411 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (45 commits)
[IPV4]: Restore multipath routing after rt_next changes.
[XFRM] IPV6: Fix outbound RO transformation which is broken by IPsec tunnel patch.
[NET]: Reorder fields of struct dst_entry
[DECNET]: Convert decnet route to use the new dst_entry 'next' pointer
[IPV6]: Convert ipv6 route to use the new dst_entry 'next' pointer
[IPV4]: Convert ipv4 route to use the new dst_entry 'next' pointer
[NET]: Introduce union in struct dst_entry to hold 'next' pointer
[DECNET]: fix misannotation of linkinfo_dn
[DECNET]: FRA_{DST,SRC} are le16 for decnet
[UDP]: UDP can use sk_hash to speedup lookups
[NET]: Fix whitespace errors.
[NET] XFRM: Fix whitespace errors.
[NET] X25: Fix whitespace errors.
[NET] WANROUTER: Fix whitespace errors.
[NET] UNIX: Fix whitespace errors.
[NET] TIPC: Fix whitespace errors.
[NET] SUNRPC: Fix whitespace errors.
[NET] SCTP: Fix whitespace errors.
[NET] SCHED: Fix whitespace errors.
[NET] RXRPC: Fix whitespace errors.
...
Diffstat (limited to 'net/ieee80211/ieee80211_rx.c')
-rw-r--r-- | net/ieee80211/ieee80211_rx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index d97e5412e31b..4084909f6f92 100644 --- a/net/ieee80211/ieee80211_rx.c +++ b/net/ieee80211/ieee80211_rx.c | |||
@@ -663,7 +663,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb, | |||
663 | * any security data (IV, ICV, etc) that was left behind */ | 663 | * any security data (IV, ICV, etc) that was left behind */ |
664 | if (!can_be_decrypted && (fc & IEEE80211_FCTL_PROTECTED) && | 664 | if (!can_be_decrypted && (fc & IEEE80211_FCTL_PROTECTED) && |
665 | ieee->host_strip_iv_icv) { | 665 | ieee->host_strip_iv_icv) { |
666 | int trimlen = 0; | 666 | int trimlen = 0; |
667 | 667 | ||
668 | /* Top two-bits of byte 3 are the key index */ | 668 | /* Top two-bits of byte 3 are the key index */ |
669 | if (skb->len >= hdrlen + 3) | 669 | if (skb->len >= hdrlen + 3) |
@@ -852,7 +852,7 @@ void ieee80211_rx_any(struct ieee80211_device *ieee, | |||
852 | 852 | ||
853 | if ((fc & IEEE80211_FCTL_VERS) != 0) | 853 | if ((fc & IEEE80211_FCTL_VERS) != 0) |
854 | goto drop_free; | 854 | goto drop_free; |
855 | 855 | ||
856 | switch (fc & IEEE80211_FCTL_FTYPE) { | 856 | switch (fc & IEEE80211_FCTL_FTYPE) { |
857 | case IEEE80211_FTYPE_MGMT: | 857 | case IEEE80211_FTYPE_MGMT: |
858 | if (skb->len < sizeof(struct ieee80211_hdr_3addr)) | 858 | if (skb->len < sizeof(struct ieee80211_hdr_3addr)) |
@@ -1489,7 +1489,7 @@ static void update_network(struct ieee80211_network *dst, | |||
1489 | 1489 | ||
1490 | /* We only update the statistics if they were created by receiving | 1490 | /* We only update the statistics if they were created by receiving |
1491 | * the network information on the actual channel the network is on. | 1491 | * the network information on the actual channel the network is on. |
1492 | * | 1492 | * |
1493 | * This keeps beacons received on neighbor channels from bringing | 1493 | * This keeps beacons received on neighbor channels from bringing |
1494 | * down the signal level of an AP. */ | 1494 | * down the signal level of an AP. */ |
1495 | if (dst->channel == src->stats.received_channel) | 1495 | if (dst->channel == src->stats.received_channel) |