1 Index: madwifi-dfs-r3053/net80211/ieee80211_output.c
2 ===================================================================
3 --- madwifi-dfs-r3053.orig/net80211/ieee80211_output.c 2008-01-10 15:40:39.777239675 +0100
4 +++ madwifi-dfs-r3053/net80211/ieee80211_output.c 2008-01-10 15:41:05.214689275 +0100
6 erp |= IEEE80211_ERP_NON_ERP_PRESENT;
7 if (ic->ic_flags & IEEE80211_F_USEPROT)
8 erp |= IEEE80211_ERP_USE_PROTECTION;
9 - if (ic->ic_flags & IEEE80211_F_USEBARKER)
10 + if ((ic->ic_flags & IEEE80211_F_USEBARKER) || (ic->ic_nonerpsta > 0))
11 erp |= IEEE80211_ERP_LONG_PREAMBLE;