/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #ifndef DISSECTOR_80211_H #define DISSECTOR_80211_H #include "hash.h" #include "proto.h" #include "protos.h" #include "tprintf.h" #include "oui.h" extern struct hash_table ieee80211_lay2; extern void dissector_init_ieee80211(int fnttype); extern void dissector_cleanup_ieee80211(void); #ifdef __WITH_PROTOS static inline struct protocol *dissector_get_ieee80211_entry_point(void) { return &ieee80211_ops; } static inline struct protocol *dissector_get_ieee80211_exit_point(void) { return &none_ops; } #else static inline struct protocol *dissector_get_ieee80211_entry_point(void) { return NULL; } static inline struct protocol *dissector_get_ieee80211_exit_point(void) { return NULL; } #endif /* __WITH_PROTOS */ #endif /* DISSECTOR_80211_H */ thod='get'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2017-01-30 12:34:32 +0200
committerKalle Valo <kvalo@codeaurora.org>2017-01-31 09:10:24 +0200
commitd546530e569463a7f0a4ead482d277b5ef42a3aa (patch)
treec4a60c65438d6b5a4af45e21ad9fc591e40bcc45
parent33e962c8871f015f5c8978384553dddcf5b81b22 (diff)
iwlwifi: alloc memory dynamically also for DVM
For old firmwares the memory wasn't allocated, resulting in panic. Make it dynamically allocated as well. Allow any order of functions call. Fixes: eef187a7b8a1 ("iwlwifi: enlarge number of ucode sections") Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Tested-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat