Search Linux Wireless

[PATCH 1/2] compat-wireless: adapt changes in cfg80211.h in wil6210

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



struct cfg80211_ops changed and this patches changes wil6210 to use the
correct parameter types in the callback functions.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 ...s-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 32ee1fc..d3406de 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 <mcgrof@xxxxxxxxxxxxxxxx>
 +	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 <mcgrof@xxxxxxxxxxxxxxxx>
 +	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 <mcgrof@xxxxxxxxxxxxxxxx>
 +}
 +
 +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__);
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux