I get the following when trying to compile the git sources
net/mac80211/tx.c In function ‘ieee80211_tx_h_check_assoc’
net/mac80211/tx.c229 error ‘skb’ undeclared (first use in this function)
net/mac80211/tx.c229 error (Each undeclared identifier is reported only once
net/mac80211/tx.c229 error for each function it appears in.)
make *** [net/mac80211/tx.o] Error 1
make *** [net/mac80211] Error 2
make *** Waiting for unfinished jobs....
ieee80211_tx_h_check_assoc begins like this
ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx)
struct sk_buff *skb = tx->skb;
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data;
#endif /* CONFIG_MAC80211_VERBOSE_DEBUG*/
struct ieee80211_tx_info *info = (void *)skb->cb;
Only declaring skb and hdr if we have selected MAC80211_VERBOSE_DEBUG and then going on to operate on those variables seems like a Really Bad Idea(tm) to me, however since I might have to use the debugging option in the other thread, I'll happily enable it.
For those not interested in debugging, though, my take is still that this is a RBI...
Thanks for the report, I have fixed this in rt2x00.git and have forwarded the patch to upstream.