diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2017-04-26 09:58:54 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-04-26 23:17:44 +0200 |
commit | e5f2e0671e7ffb0723c5d96684d8fa1ea2403074 (patch) | |
tree | 9a9938382a208880bde2c6ce63b82aae099d96dd /net/mac80211 | |
parent | mac80211: disentangle iflist_mtx and chanctx_mtx (diff) | |
download | linux-e5f2e0671e7ffb0723c5d96684d8fa1ea2403074.tar.xz linux-e5f2e0671e7ffb0723c5d96684d8fa1ea2403074.zip |
mac80211: make multicast variable a bool in ieee80211_accept_frame()
The multicast variable in the ieee80211_accept_frame() function is
treated as a boolean, but defined as int. Fix that.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 0094f3c0af64..fe6a760aa1ee 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -3574,7 +3574,7 @@ static bool ieee80211_accept_frame(struct ieee80211_rx_data *rx) struct ieee80211_hdr *hdr = (void *)skb->data; struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); u8 *bssid = ieee80211_get_bssid(hdr, skb->len, sdata->vif.type); - int multicast = is_multicast_ether_addr(hdr->addr1); + bool multicast = is_multicast_ether_addr(hdr->addr1); switch (sdata->vif.type) { case NL80211_IFTYPE_STATION: |