WPS: Fix clearing of WPS IE with madwifi driver
authorMasashi Honma <honma@ictec.co.jp>
Tue, 10 Feb 2009 09:23:59 +0000 (11:23 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 10 Feb 2009 09:23:59 +0000 (11:23 +0200)
commit34a6c94178a1d0c26d6eaf9e2dc0c848a798afd2
tree3401ab20e382a357f3fe16cc032853d3ad0a4d46
parentedd757e8a3d165cbfc4d1721f30a8aa276f9329b
WPS: Fix clearing of WPS IE with madwifi driver

On WPS init/deinit process, the hostapd clears it's own WPS IE
with 0 length WPS IE. But it fails. Because the parameter to
ioctl is too short. Then hostapd prints a below message.

ioctl[IEEE80211_IOCTL_SET_APPIEBUF]: Invalid argument
hostapd/driver_madwifi.c