[package]Ă‚base-files: don't mark /etc/banner as conffile
[openwrt.git] / package / madwifi / patches / 405-retransmit_check.patch
1 --- a/net80211/ieee80211.h
2 +++ b/net80211/ieee80211.h
3 @@ -174,8 +174,6 @@ struct ieee80211_ctlframe_addr2 {
4 #define IEEE80211_SEQ_SEQ_MASK 0xfff0
5 #define IEEE80211_SEQ_SEQ_SHIFT 4
6
7 -#define IEEE80211_SEQ_LEQ(a,b) ((int)((a)-(b)) <= 0)
8 -
9 #define IEEE80211_NWID_LEN 32
10
11 #define IEEE80211_QOS_TXOP 0x00ff
12 --- a/net80211/ieee80211_input.c
13 +++ b/net80211/ieee80211_input.c
14 @@ -428,7 +428,7 @@ ieee80211_input(struct ieee80211vap * va
15 tid = 0;
16 rxseq = le16toh(*(__le16 *)wh->i_seq);
17 if ((wh->i_fc[1] & IEEE80211_FC1_RETRY) &&
18 - IEEE80211_SEQ_LEQ(rxseq, ni->ni_rxseqs[tid])) {
19 + (rxseq == ni->ni_rxseqs[tid])) {
20 /* duplicate, discard */
21 IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_INPUT,
22 bssid, "duplicate",
This page took 0.0428 seconds and 5 git commands to generate.