bsd: Fix hostapd compiler warning
authorMasashi Honma <masashi.honma@gmail.com>
Sun, 2 Feb 2014 21:06:14 +0000 (23:06 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 3 Feb 2014 17:34:49 +0000 (19:34 +0200)
commitc69ed4dd494dd9764651188590e92c4dfd936324
tree32cc935cd8131b030b0d05b289349e77a5d58806
parentd9504779133a5db9e3aa5e3caed5556defc44070
bsd: Fix hostapd compiler warning

The hostapd compilation displays a below warning On NetBSD 6.1.2.

../src/drivers/driver_bsd.c:72:1: warning: 'get80211opmode' defined but not used

This patch solves it and moves other functions to appropriate position to
reduce #ifdef.

Signed-hostap: Masashi Honma <masashi.honma@gmail.com>
src/drivers/driver_bsd.c