mac80211: rename mesh static path_lookup()
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 8 Feb 2012 05:09:25 +0000 (21:09 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Feb 2012 20:26:34 +0000 (15:26 -0500)
commit5ad20dd1480dc557afcec19ac7fae5581264dd59
tree6bc2f7d679429ed2a164da85b378e289bb24df24
parent7f66c2f93e5779625c10d262c84537427a2673ca
mac80211: rename mesh static path_lookup()

If you want to use mesh support from mac80211 on a recent
kernel on 2.6.24 you'll run into a name clash when compiling
against include/linux/namei.h, so rename this routine.

/home/mcgrof/tmp/compat-wireless-3.2.5-1/net/mac80211/mesh_pathtbl.c: At top level:
/home/mcgrof/tmp/compat-wireless-3.2.5-1/net/mac80211/mesh_pathtbl.c:342:26: error: conflicting types for ‘path_lookup’
include/linux/namei.h:71:12: note: previous declaration of ‘path_lookup’ was here

Although this could sit as a separate patch in compat-wireless it seems
best to just merge upstream.

Cc: Javier Cardona <javier@cozybit.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Acked-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c