[MAC80211]: Remove bitfields from struct ieee80211_sub_if_data
mac80211, remove bitfields from struct ieee80211_sub_if_data Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d6f2da5b33
commit
13262ffd49
@@ -1288,7 +1288,7 @@ static int prepare_for_handlers(struct ieee80211_sub_if_data *sdata,
|
||||
} else if (!multicast &&
|
||||
compare_ether_addr(sdata->dev->dev_addr,
|
||||
hdr->addr1) != 0) {
|
||||
if (!sdata->promisc)
|
||||
if (!(sdata->flags & IEEE80211_SDATA_PROMISC))
|
||||
return 0;
|
||||
rx->flags &= ~IEEE80211_TXRXD_RXRA_MATCH;
|
||||
}
|
||||
@@ -1303,7 +1303,7 @@ static int prepare_for_handlers(struct ieee80211_sub_if_data *sdata,
|
||||
} else if (!multicast &&
|
||||
compare_ether_addr(sdata->dev->dev_addr,
|
||||
hdr->addr1) != 0) {
|
||||
if (!sdata->promisc)
|
||||
if (!(sdata->flags & IEEE80211_SDATA_PROMISC))
|
||||
return 0;
|
||||
rx->flags &= ~IEEE80211_TXRXD_RXRA_MATCH;
|
||||
} else if (!rx->sta)
|
||||
|
Reference in New Issue
Block a user