Get rid of struct hostapd_driver_ops abstraction

This is not needed anymore and just makes things more difficult
to understand, so move the remaining function pointers to direct
function calls and get rid of the struct hostapd_driver_ops.
This commit is contained in:
Jouni Malinen 2010-11-24 16:50:06 +02:00 committed by Jouni Malinen
parent 3acdf771b8
commit 0e8a96a911
10 changed files with 60 additions and 79 deletions

View file

@ -514,8 +514,8 @@ void ieee802_11_set_beacon(struct hostapd_data *hapd)
#ifdef CONFIG_P2P
no_beacon:
#endif /* CONFIG_P2P */
hapd->drv.set_bss_params(hapd, !!(ieee802_11_erp_info(hapd) &
ERP_INFO_USE_PROTECTION));
hostapd_set_bss_params(hapd, !!(ieee802_11_erp_info(hapd) &
ERP_INFO_USE_PROTECTION));
}