Revert "cfg80211: Define new API to send reg change event"

This reverts commit 98d5572dd2. This API
no more needed since user would use existing kernel API.

Change-Id: I2d5a19fc9159da5ef7020cb1808b704b0344087e
CRs-Fixed: 2201959
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
This commit is contained in:
Amar Singhal 2018-03-07 11:41:48 -08:00
parent 8bfed68306
commit f6d05c4ca3
2 changed files with 0 additions and 19 deletions

View file

@ -82,9 +82,6 @@ struct wiphy;
/* Indicate support for including KEK length in rekey data */
#define CFG80211_REKEY_DATA_KEK_LEN 1
/* Indicate support for regulatory update sync event */
#define CFG80211_REG_UPDATE_SYNC_EVENT 1
/*
* wireless hardware capability structures
*/
@ -5774,14 +5771,6 @@ void cfg80211_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info);
*/
void cfg80211_ap_stopped(struct net_device *netdev, gfp_t gfp);
/**
* cfg80211_send_reg_change_event - notify user-space of regulatory change
* @request: regulatory request
* @wiphy: the wiphy to use
*/
void cfg80211_send_reg_change_event(struct regulatory_request *request,
struct wiphy *wiphy);
/* Logging, debugging and troubleshooting/diagnostic helpers. */
/* wiphy_printk helpers, similar to dev_printk */

View file

@ -1794,14 +1794,6 @@ static void update_all_wiphy_regulatory(enum nl80211_reg_initiator initiator)
reg_check_channels();
}
void cfg80211_send_reg_change_event(struct regulatory_request *request,
struct wiphy *wiphy)
{
request->wiphy_idx = get_wiphy_idx(wiphy);
nl80211_send_reg_change_event(request);
}
EXPORT_SYMBOL(cfg80211_send_reg_change_event);
static void handle_channel_custom(struct wiphy *wiphy,
struct ieee80211_channel *chan,
const struct ieee80211_regdomain *regd)