Ingo Molnar bf94e17bc8 net/mac80211/rx.c: fix build error
older versions of gcc do not recognize that ieee80211_rx_h_mesh_fwding()
is unused when CONFIG_MAC80211_MESH is disabled:

  net/built-in.o: In function `ieee80211_rx_h_mesh_fwding':
  rx.c:(.text+0xd89af): undefined reference to `mpp_path_lookup'
  rx.c:(.text+0xd89c6): undefined reference to `mpp_path_add'

as this code construct:

        if (ieee80211_vif_is_mesh(&sdata->vif))
                CALL_RXH(ieee80211_rx_h_mesh_fwding);

still causes ieee80211_rx_h_mesh_fwding() to be linked in.

Protect these places with an #ifdef.

commit b0dee578 ("Fix modpost failure when rx handlers are not inlined.")
solved part of this problem - this patch is still needed.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-10-12 23:51:38 -07:00
..
2008-09-24 16:18:03 -04:00
2007-05-05 11:46:38 -07:00
2008-10-06 18:14:57 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2008-09-15 16:48:24 -04:00
2008-09-24 16:18:03 -04:00
2008-10-12 23:51:38 -07:00
2008-09-15 16:48:23 -04:00
2008-09-11 15:53:39 -04:00
2008-09-24 16:18:03 -04:00
2008-10-06 18:14:57 -04:00
2008-10-06 18:14:57 -04:00
2008-05-07 15:02:11 -04:00
2008-09-15 16:48:22 -04:00
2008-10-06 18:14:57 -04:00
2008-03-06 15:30:46 -05:00