mac80211: Fix compilation error when mesh is disabled
authorJavier Cardona <javier@cozybit.com>
Tue, 7 Dec 2010 18:41:47 +0000 (10:41 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Dec 2010 22:08:09 +0000 (17:08 -0500)
commit7659a193f94c0003dd06e9e874d19bade1a8c952
treea7f69f67f61f21ee7733f943ecedd1dceaac1a2e
parentcae6b74d907e2abd22d496fe30417b088d3302cf
mac80211: Fix compilation error when mesh is disabled

Wrap mesh sections inside CONFIG_MAC80211_MESH to fix compilation
problems reported by Stephen Rothwell, Larry Finger and Bruno Randolf.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c