A recent change in MAC formatting leads to an "ISO C90 forbids mixed declarations and code" warning. If the DECLARE_MAC macro is moved, the code compiles without warnings. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- net/mac80211/rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: net-2.6.24/net/mac80211/rx.c =================================================================== --- net-2.6.24.orig/net/mac80211/rx.c +++ net-2.6.24/net/mac80211/rx.c @@ -418,8 +418,8 @@ ieee80211_rx_h_load_key(struct ieee80211 static void ap_sta_ps_start(struct net_device *dev, struct sta_info *sta) { struct ieee80211_sub_if_data *sdata; - sdata = IEEE80211_DEV_TO_SUB_IF(sta->dev); DECLARE_MAC_BUF(mac); + sdata = IEEE80211_DEV_TO_SUB_IF(sta->dev); if (sdata->bss) atomic_inc(&sdata->bss->num_sta_ps); - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html