* [PATCH] cfg80211/nl80211: remove reassociate command
@ 2007-04-12 10:00 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-04-12 10:00 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-12 9:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-12 10:00 [PATCH] cfg80211/nl80211: remove reassociate command Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox