openssl: replace full recipe for 0.9.8 with a stripped-down libssl0.9.8 recipe contai...
[opendreambox.git] / meta-opendreambox / recipes-connectivity / madwifi / madwifi-ng / fix-build-3.1.patch
1 diff -Naur madwifi-ng-r3314-20080131-org/net80211/ieee80211_input.c madwifi-ng-r3314-20080131/net80211/ieee80211_input.c
2 --- madwifi-ng-r3314-20080131-org/net80211/ieee80211_input.c    2012-01-28 19:27:10.000000000 +0100
3 +++ madwifi-ng-r3314-20080131/net80211/ieee80211_input.c        2012-01-28 19:47:34.109104724 +0100
4 @@ -1223,6 +1223,7 @@
5  #endif
6                 vap->iv_devstats.rx_packets++;
7                 vap->iv_devstats.rx_bytes += skb->len;
8 +#if IEEE80211_VLAN_TAG_USED
9                 if (ni->ni_vlan != 0 && vap->iv_vlgrp != NULL) {
10                         /* attach vlan tag */
11                         struct ieee80211_node *ni_tmp = SKB_CB(skb)->ni;
12 @@ -1236,7 +1237,9 @@
13                                 vap->iv_devstats.rx_dropped++;
14                         }
15                         skb = NULL; /* SKB is no longer ours */
16 -               } else {
17 +               } else
18 +#endif
19 +               {
20                         struct ieee80211_node *ni_tmp = SKB_CB(skb)->ni;
21                         if (netif_receive_skb(skb) == NET_RX_DROP) {
22                                 /* If netif_receive_skb dropped the packet because