ath9k: fix switching channel bandwidth from 5/10 back to 20mhz
[openwrt.git] / package / madwifi / patches / 373-sanity_check.patch
1 --- a/net80211/ieee80211_input.c
2 +++ b/net80211/ieee80211_input.c
3 @@ -250,6 +250,9 @@ ieee80211_input(struct ieee80211vap * va
4 if (vap->iv_opmode == IEEE80211_M_MONITOR)
5 goto out;
6
7 + if (!skb->data)
8 + goto out;
9 +
10 if (skb->len < sizeof(struct ieee80211_frame_min)) {
11 IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_ANY,
12 ni->ni_macaddr, NULL,
This page took 0.047521 seconds and 5 git commands to generate.