diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-06-30 15:10:44 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-02 15:48:33 -0400 |
commit | d9e8a70fa20dc3eaa00859a6eac0adfaef910c77 (patch) | |
tree | 8a9b5ce1da7243ab80b3aad35ce52f2dcd5cbc39 /net/mac80211/ieee80211_i.h | |
parent | acdfe9b4417fd04093bdaf8c0a4255ebfabc21a1 (diff) | |
download | kernel_samsung_aries-d9e8a70fa20dc3eaa00859a6eac0adfaef910c77.zip kernel_samsung_aries-d9e8a70fa20dc3eaa00859a6eac0adfaef910c77.tar.gz kernel_samsung_aries-d9e8a70fa20dc3eaa00859a6eac0adfaef910c77.tar.bz2 |
mac80211: get rid of function pointers in TX path
This changes the TX path to no longer use function pointers for
TX handlers but rather invoke them directly. If debugging is
enabled, mark the TX handlers noinline because otherwise they
all get inlined into invoke_tx_handlers() which makes it harder
to see where a bug is.
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index af352c0..46705ae 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -954,4 +954,10 @@ int ieee80211_frame_duration(struct ieee80211_local *local, size_t len, void mac80211_ev_michael_mic_failure(struct net_device *dev, int keyidx, struct ieee80211_hdr *hdr); +#ifdef CONFIG_MAC80211_DEBUG +#define debug_noinline noinline +#else +#define debug_noinline +#endif + #endif /* IEEE80211_I_H */ |