summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2006-12-11 19:28:55 -0200
committerAndres Salomon <dilinger@debian.org>2006-12-20 15:43:43 -0500
commit69efc42cf568f2c1c84d965c4e28259a7c03a3ec (patch)
tree869cbd126dac0e7ac1de4902e5da7eeadb26c02c
parentb93d0141bf2277309baee120e6ab711ac720860d (diff)
downloadlwn-69efc42cf568f2c1c84d965c4e28259a7c03a3ec.tar.gz
lwn-69efc42cf568f2c1c84d965c4e28259a7c03a3ec.zip
libertas: remove useless SIOCSIWCOMMIT handler
It does nada. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> (cherry picked from 786b880e8f2a4c4f81c56b5c3130d8685de2e92b commit)
-rw-r--r--drivers/net/wireless/libertas/wlan_wext.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/net/wireless/libertas/wlan_wext.c b/drivers/net/wireless/libertas/wlan_wext.c
index d3870e5ae2fd..590cbfda3e3c 100644
--- a/drivers/net/wireless/libertas/wlan_wext.c
+++ b/drivers/net/wireless/libertas/wlan_wext.c
@@ -394,25 +394,6 @@ static int get_active_data_rates(wlan_adapter * Adapter,
}
/**
- * @brief Commit handler: called after a bunch of SET operations
- *
- * @param dev A pointer to net_device structure
- * @param info A pointer to iw_request_info structure
- * @param vwrq A pointer to iw_param structure
- * @param extra A pointer to extra data buf
- * @return WLAN_STATUS_SUCCESS --success, otherwise fail
- */
-static int wlan_config_commit(struct net_device *dev,
- struct iw_request_info *info,
- char *cwrq, char *extra)
-{
- ENTER();
-
- LEAVE();
- return WLAN_STATUS_SUCCESS;
-}
-
-/**
* @brief Get protocol name
*
* @param dev A pointer to net_device structure
@@ -3091,7 +3072,7 @@ void libertas_get_fwversion(wlan_adapter * adapter, char *fwversion, int maxlen)
* iwconfig settable callbacks
*/
static const iw_handler wlan_handler[] = {
- (iw_handler) wlan_config_commit, /* SIOCSIWCOMMIT */
+ (iw_handler) NULL, /* SIOCSIWCOMMIT */
(iw_handler) wlan_get_name, /* SIOCGIWNAME */
(iw_handler) NULL, /* SIOCSIWNWID */
(iw_handler) NULL, /* SIOCGIWNWID */