mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
wiphy: Remove unused wiphy_supports_adhoc_rsn()
This commit is contained in:
parent
6e5df64f6d
commit
66f47343d9
@ -138,7 +138,6 @@ struct wiphy {
|
|||||||
|
|
||||||
bool support_scheduled_scan:1;
|
bool support_scheduled_scan:1;
|
||||||
bool support_rekey_offload:1;
|
bool support_rekey_offload:1;
|
||||||
bool support_adhoc_rsn:1;
|
|
||||||
bool support_qos_set_map:1;
|
bool support_qos_set_map:1;
|
||||||
bool support_cmds_auth_assoc:1;
|
bool support_cmds_auth_assoc:1;
|
||||||
bool support_fw_roam:1;
|
bool support_fw_roam:1;
|
||||||
@ -662,11 +661,6 @@ uint32_t wiphy_get_max_roc_duration(struct wiphy *wiphy)
|
|||||||
return wiphy->max_roc_duration;
|
return wiphy->max_roc_duration;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wiphy_supports_adhoc_rsn(struct wiphy *wiphy)
|
|
||||||
{
|
|
||||||
return wiphy->support_adhoc_rsn;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool wiphy_supports_qos_set_map(struct wiphy *wiphy)
|
bool wiphy_supports_qos_set_map(struct wiphy *wiphy)
|
||||||
{
|
{
|
||||||
return wiphy->support_qos_set_map;
|
return wiphy->support_qos_set_map;
|
||||||
@ -1848,9 +1842,6 @@ static void wiphy_parse_attributes(struct wiphy *wiphy,
|
|||||||
else
|
else
|
||||||
wiphy->max_scan_ie_len = *((uint16_t *) data);
|
wiphy->max_scan_ie_len = *((uint16_t *) data);
|
||||||
break;
|
break;
|
||||||
case NL80211_ATTR_SUPPORT_IBSS_RSN:
|
|
||||||
wiphy->support_adhoc_rsn = true;
|
|
||||||
break;
|
|
||||||
case NL80211_ATTR_SUPPORTED_IFTYPES:
|
case NL80211_ATTR_SUPPORTED_IFTYPES:
|
||||||
if (l_genl_attr_recurse(&attr, &nested))
|
if (l_genl_attr_recurse(&attr, &nested))
|
||||||
parse_supported_iftypes(wiphy, &nested);
|
parse_supported_iftypes(wiphy, &nested);
|
||||||
|
@ -127,7 +127,6 @@ bool wiphy_supports_iftype(struct wiphy *wiphy, uint32_t iftype);
|
|||||||
const uint8_t *wiphy_get_supported_rates(struct wiphy *wiphy,
|
const uint8_t *wiphy_get_supported_rates(struct wiphy *wiphy,
|
||||||
enum band_freq band,
|
enum band_freq band,
|
||||||
unsigned int *out_num);
|
unsigned int *out_num);
|
||||||
bool wiphy_supports_adhoc_rsn(struct wiphy *wiphy);
|
|
||||||
bool wiphy_supports_qos_set_map(struct wiphy *wiphy);
|
bool wiphy_supports_qos_set_map(struct wiphy *wiphy);
|
||||||
bool wiphy_supports_firmware_roam(struct wiphy *wiphy);
|
bool wiphy_supports_firmware_roam(struct wiphy *wiphy);
|
||||||
const char *wiphy_get_driver(struct wiphy *wiphy);
|
const char *wiphy_get_driver(struct wiphy *wiphy);
|
||||||
|
Loading…
Reference in New Issue
Block a user