diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 24a8ad3f5073..8a49c06dfd38 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -535,10 +535,12 @@ enum ieee80211_if_types { | |||
535 | * Data in this structure is continually present for driver | 535 | * Data in this structure is continually present for driver |
536 | * use during the life of a virtual interface. | 536 | * use during the life of a virtual interface. |
537 | * | 537 | * |
538 | * @type: type of this virtual interface | ||
538 | * @drv_priv: data area for driver use, will always be aligned to | 539 | * @drv_priv: data area for driver use, will always be aligned to |
539 | * sizeof(void *). | 540 | * sizeof(void *). |
540 | */ | 541 | */ |
541 | struct ieee80211_vif { | 542 | struct ieee80211_vif { |
543 | enum ieee80211_if_types type; | ||
542 | /* must be last */ | 544 | /* must be last */ |
543 | u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); | 545 | u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); |
544 | }; | 546 | }; |