From 6e5df64f6d57b49a3f371368228076322f1fa060 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 30 Sep 2023 17:20:29 -0500 Subject: [PATCH] wiphy: Remove unused wiphy_can_offchannel_tx() --- src/wiphy.c | 5 ----- src/wiphy.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/wiphy.c b/src/wiphy.c index bfafa09d..2a8e9a5d 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -667,11 +667,6 @@ bool wiphy_supports_adhoc_rsn(struct wiphy *wiphy) return wiphy->support_adhoc_rsn; } -bool wiphy_can_offchannel_tx(struct wiphy *wiphy) -{ - return wiphy->offchannel_tx_ok; -} - bool wiphy_supports_qos_set_map(struct wiphy *wiphy) { return wiphy->support_qos_set_map; diff --git a/src/wiphy.h b/src/wiphy.h index e532c97b..e1aaaef6 100644 --- a/src/wiphy.h +++ b/src/wiphy.h @@ -128,7 +128,6 @@ const uint8_t *wiphy_get_supported_rates(struct wiphy *wiphy, enum band_freq band, unsigned int *out_num); bool wiphy_supports_adhoc_rsn(struct wiphy *wiphy); -bool wiphy_can_offchannel_tx(struct wiphy *wiphy); bool wiphy_supports_qos_set_map(struct wiphy *wiphy); bool wiphy_supports_firmware_roam(struct wiphy *wiphy); const char *wiphy_get_driver(struct wiphy *wiphy);