[package] mark mac80211 & madwifi as BROKEN for ep93xx
[openwrt.git] / package / mac80211 / patches / 200-mac80211_ibss_fix.patch
1 --- a/net/mac80211/ibss.c
2 +++ b/net/mac80211/ibss.c
3 @@ -382,6 +382,7 @@ static void ieee80211_rx_bss_info(struct
4 struct sta_info *ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata,
5 u8 *bssid,u8 *addr, u32 supp_rates)
6 {
7 + struct ieee80211_if_ibss *ifibss = &sdata->u.ibss;
8 struct ieee80211_local *local = sdata->local;
9 struct sta_info *sta;
10 int band = local->hw.conf.channel->band;
11 @@ -397,6 +398,9 @@ struct sta_info *ieee80211_ibss_add_sta(
12 return NULL;
13 }
14
15 + if (ifibss->state == IEEE80211_IBSS_MLME_SEARCH)
16 + return NULL;
17 +
18 if (compare_ether_addr(bssid, sdata->u.ibss.bssid))
19 return NULL;
20
This page took 0.04151 seconds and 5 git commands to generate.