Remove disable_11b_rates() driver_ops
This function was used unconditionally if wpa_supplicant build includes CONFIG_P2P=y. Adding a separate driver_ops for such use is not really useful since the driver wrappers can do the same internally. Remove this driver_ops and move matching functionality into driver_nl80211.c which was the only driver wrapper using this driver_ops callback. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
1dea5882be
commit
97bcd562eb
5 changed files with 11 additions and 38 deletions
|
@ -1946,19 +1946,6 @@ struct wpa_driver_ops {
|
|||
*/
|
||||
int (*probe_req_report)(void *priv, int report);
|
||||
|
||||
/**
|
||||
* disable_11b_rates - Set whether IEEE 802.11b rates are used for TX
|
||||
* @priv: Private driver interface data
|
||||
* @disabled: Whether IEEE 802.11b rates are disabled
|
||||
* Returns: 0 on success, -1 on failure (or if not supported)
|
||||
*
|
||||
* This command is used to disable IEEE 802.11b rates (1, 2, 5.5, and
|
||||
* 11 Mbps) as TX rates for data and management frames. This can be
|
||||
* used to optimize channel use when there is no need to support IEEE
|
||||
* 802.11b-only devices.
|
||||
*/
|
||||
int (*disable_11b_rates)(void *priv, int disabled);
|
||||
|
||||
/**
|
||||
* deinit_ap - Deinitialize AP mode
|
||||
* @priv: Private driver interface data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue