From 91fb5b709c17069759f6bb0ec519adb6ab320948 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 11 Aug 2012 02:30:24 +0200 Subject: [PATCH] compat-wireless: adapt changes in cfg80211.h in wil6210 struct cfg80211_ops changed and this patches changes wil6210 to use the correct parameter types in the callback functions. Signed-off-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- ...4-wireless-adds-the-802.11ad-60-GHz-wil6210-driver.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crap/0004-wireless-adds-the-802.11ad-60-GHz-wil6210-driver.patch b/crap/0004-wireless-adds-the-802.11ad-60-GHz-wil6210-driver.patch index 32ee1fc19d3c..d3406de30f90 100644 --- a/crap/0004-wireless-adds-the-802.11ad-60-GHz-wil6210-driver.patch +++ b/crap/0004-wireless-adds-the-802.11ad-60-GHz-wil6210-driver.patch @@ -323,7 +323,7 @@ Signed-off-by: Luis R. Rodriguez + return 0; +} + -+static int wil_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev, ++static int wil_cfg80211_scan(struct wiphy *wiphy, + struct cfg80211_scan_request *request) +{ +#if 0 @@ -601,7 +601,7 @@ Signed-off-by: Luis R. Rodriguez + return 0; +} + -+static int wil_mgmt_tx(struct wiphy *wiphy, struct net_device *ndev, ++static int wil_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, + struct ieee80211_channel *chan, bool offchan, + enum nl80211_channel_type channel_type, + bool channel_type_valid, unsigned int wait, @@ -617,7 +617,7 @@ Signed-off-by: Luis R. Rodriguez +} + +static void wil_mgmt_frame_register(struct wiphy *wiphy, -+ struct net_device *ndev, u16 frame_type, bool reg) ++ struct wireless_dev *wdev, u16 frame_type, bool reg) +{ + struct wil6210_priv *wil = wiphy_to_wil(wiphy); + wil_info(wil, "%s()\n", __func__); -- 2.30.2