From: Andrew Morton <akpm@osdl.org> net/ieee80211/ieee80211_tx.c: In function `ieee80211_encrypt_fragment': net/ieee80211/ieee80211_tx.c:186: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:188: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:189: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:189: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:190: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:191: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:191: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:193: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c: In function `ieee80211_xmit': net/ieee80211/ieee80211_tx.c:288: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:341: warning: implicit declaration of function `is_broadcast_ether_addr' net/ieee80211/ieee80211_tx.c:357: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:358: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:385: dereferencing pointer to incomplete type net/ieee80211/ieee80211_tx.c:256: warning: `encrypt' might be used uninitialized in this function It still does this: net/ieee80211/ieee80211_tx.c: In function `ieee80211_xmit': net/ieee80211/ieee80211_tx.c:341: warning: implicit declaration of function `is_broadcast_ether_addr' But I couldn't find a header with a declaration. Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> --- net/ieee80211/ieee80211_tx.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN net/ieee80211/ieee80211_tx.c~ieee80211_tx-build-fix net/ieee80211/ieee80211_tx.c --- devel/net/ieee80211/ieee80211_tx.c~ieee80211_tx-build-fix 2005-07-26 00:37:48.000000000 -0700 +++ devel-akpm/net/ieee80211/ieee80211_tx.c 2005-07-26 00:37:48.000000000 -0700 @@ -44,7 +44,7 @@ #include <asm/uaccess.h> #include <net/ieee80211.h> - +#include <net/ieee80211_crypt.h> /* _