Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: John Linville <linville@tuxdriver.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: [PATCH] cfg80211/nl80211: remove reassociate command
Date: Thu, 12 Apr 2007 12:00:54 +0200	[thread overview]
Message-ID: <1176372055.7052.19.camel@johannes.berg> (raw)

This doesn't seem to be useful. If we need it later we can add it back then.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

---
 include/linux/nl80211.h |    1 -
 include/net/cfg80211.h  |    3 ---
 net/wireless/nl80211.c  |    8 --------
 3 files changed, 12 deletions(-)

--- wireless-dev.orig/include/linux/nl80211.h	2007-04-12 11:57:40.195366513 +0200
+++ wireless-dev/include/linux/nl80211.h	2007-04-12 11:58:33.725366513 +0200
@@ -75,7 +75,6 @@ enum nl80211_commands {
 	NL80211_CMD_GET_ASSOCIATION,
 	NL80211_CMD_ASSOCIATION_CHANGED,
 	NL80211_CMD_ASSOCIATE,
-	NL80211_CMD_REASSOCIATE,
 	NL80211_CMD_DISASSOCIATE,
 	NL80211_CMD_DEAUTH,
 	NL80211_CMD_GET_AUTH_LIST,
--- wireless-dev.orig/net/wireless/nl80211.c	2007-04-12 11:58:33.195366513 +0200
+++ wireless-dev/net/wireless/nl80211.c	2007-04-12 11:58:33.725366513 +0200
@@ -146,7 +146,6 @@ static int nl80211_get_cmdlist(struct sk
 	CHECK_CMD(add_virtual_intf, ADD_VIRTUAL_INTERFACE);
 	CHECK_CMD(del_virtual_intf, DEL_VIRTUAL_INTERFACE);
 	CHECK_CMD(associate, ASSOCIATE);
-	CHECK_CMD(reassociate, REASSOCIATE);
 	CHECK_CMD(disassociate, DISASSOCIATE);
 	CHECK_CMD(deauth, DEAUTH);
 	CHECK_CMD(initiate_scan, INITIATE_SCAN);
@@ -839,13 +838,6 @@ static struct genl_ops nl80211_ops[] = {
 		.policy = nl80211_policy,
 		.flags = GENL_ADMIN_PERM,
 	},
-/*
-	{
-		.cmd = NL80211_CMD_REASSOCIATE,
-		.policy = nl80211_policy,
-		.flags = GENL_ADMIN_PERM,
-	},
-*/
 	{
 		.cmd = NL80211_CMD_DISASSOCIATE,
 		.doit = nl80211_disassoc_deauth,
--- wireless-dev.orig/include/net/cfg80211.h	2007-04-12 11:57:40.265366513 +0200
+++ wireless-dev/include/net/cfg80211.h	2007-04-12 11:58:33.725366513 +0200
@@ -94,8 +94,6 @@ struct wiphy;
  *
  * @associate: associate with given parameters
  *
- * @reassociate: reassociate with settings
- *
  * @disassociate: disassociate from current AP
  *
  * @deauth: deauth from current AP
@@ -121,7 +119,6 @@ struct cfg80211_ops {
 
 	int	(*associate)(struct wiphy *wiphy, struct net_device *dev,
 			     struct association_params *params);
-	int	(*reassociate)(struct wiphy *wiphy, struct net_device *dev);
 	int	(*disassociate)(struct wiphy *wiphy, struct net_device *dev);
 	int	(*deauth)(struct wiphy *wiphy, struct net_device *dev);
 



                 reply	other threads:[~2007-04-12  9:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1176372055.7052.19.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox