diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-26 17:19:43 +0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 03:53:15 +0400 |
commit | fb1c1cd6c5a8988b14c5c6c0dfe55542df3a34c6 (patch) | |
tree | 9dec818b2b6aea9c9823902e9c5b0108134d5747 /net/mac80211/ieee80211_i.h | |
parent | af1a90da397f071d7ee893145a1e7b2124689376 (diff) | |
download | linux-fb1c1cd6c5a8988b14c5c6c0dfe55542df3a34c6.tar.xz |
[PATCH] mac80211: fix vlan bug
VLAN interfaces have yet another bug: they aren't accounted
for properly in the receive path in prepare_for_handlers().
I noticed this by code inspection, but it would be easy for
the compiler to catch such things if we'd just use the proper
enum where appropriate.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index a5961f16f206..636de70cd85d 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -290,7 +290,7 @@ struct ieee80211_if_sta { #define IEEE80211_SDATA_SHORT_PREAMBLE BIT(3) struct ieee80211_sub_if_data { struct list_head list; - unsigned int type; + enum ieee80211_if_types type; struct wireless_dev wdev; |