Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
[openwrt.git] / package / madwifi / patches / 334-input.patch
1 --- a/net80211/ieee80211_input.c
2 +++ b/net80211/ieee80211_input.c
3 @@ -950,6 +950,9 @@ ieee80211_input_all(struct ieee80211com
4 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {
5 struct sk_buff *skb1;
6
7 + if ((vap->iv_dev->flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
8 + continue;
9 +
10 if (TAILQ_NEXT(vap, iv_next) != NULL) {
11 skb1 = skb_copy(skb, GFP_ATOMIC);
12 if (skb1 == NULL) {
This page took 0.044696 seconds and 5 git commands to generate.