FreeBSD: Fix driver_bsd.c build
authorMasashi Honma <honma@ictec.co.jp>
Sat, 9 Jan 2010 09:04:44 +0000 (11:04 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 9 Jan 2010 09:04:44 +0000 (11:04 +0200)
commitc610dba137608dec7614e8de78d7966f7b14d1db
tree0a1e853eee02ba76afceb7434782cd8cc5388ae7
parent953f0f63337a2d445f5d60c1ddffc4f0c441f839
FreeBSD: Fix driver_bsd.c build

On FreeBSD 8.0, driver_bsd.c build fails because of changes from
older versions of FreeBSD. The error messages are below:

In file included from ../src/drivers/driver_bsd.c:38:
/usr/include/net80211/ieee80211_crypto.h:94: error: 'IEEE80211_TID_SIZE'
undeclared here (not in a function)
../src/drivers/driver_bsd.c: In function 'wpa_driver_bsd_set_wpa_ie':
../src/drivers/driver_bsd.c:968: error: 'IEEE80211_IOC_OPTIE' undeclared (first
use in this function)
../src/drivers/driver_bsd.c:968: error: (Each undeclared identifier is reported
only once
../src/drivers/driver_bsd.c:968: error: for each function it appears in.)
gmake: *** [../src/drivers/driver_bsd.o] Error 1

This patch solves this issue.
src/drivers/driver_bsd.c