Use Data::Data only with Host AP driver; mac80211 can use Data::Nullfunc
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 27 Jan 2009 14:36:27 +0000 (16:36 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 27 Jan 2009 14:36:27 +0000 (16:36 +0200)
commit1e14526571e0d04ed4a090654d230dc82d8f9b1a
tree633cc40b5ac5a731fc2802c29411a449fa5de11e
parentf01a6b1e3e533ddc939b8bc0a3fb08d665922d4d
Use Data::Data only with Host AP driver; mac80211 can use Data::Nullfunc

The inactivity poll was originally supposed to use Data::Nullfunc, but
due to Prism2/2.5/3 firmware issues, this was changed to an empty
Data::Data frame. mac80211 does not have such an issue, so change the
inactivity poll frame to be Data::Nullfunc by default and use the
Data::Data workaround only with Host AP driver.
hostapd/sta_info.c