diff options
author | Holger Schurig <holgerschurig@googlemail.com> | 2009-12-02 09:26:03 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-22 13:44:03 -0500 |
commit | 0e78ff8fcc6dabeda313719deb751afbd20bea41 (patch) | |
tree | 00dc4a49a67b2daa127f30ab52ff314b3b4930d9 /drivers/net/wireless/libertas/main.c | |
parent | 4143a23de096910e3ceb0939f41de6ffb8c59475 (diff) |
libertas: remove priv->capability
This variable was once set to WLAN_CAPABILITY_SHORT_PREAMBLE and
there's no code that could change the variable to something else.
Therefore it seems this is not necessary :-)
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 64b327d4548b..f9f195f7b17c 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -839,7 +839,6 @@ static int lbs_init_adapter(struct lbs_private *priv) | |||
839 | priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; | 839 | priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; |
840 | priv->radio_on = 1; | 840 | priv->radio_on = 1; |
841 | priv->enablehwauto = 1; | 841 | priv->enablehwauto = 1; |
842 | priv->capability = WLAN_CAPABILITY_SHORT_PREAMBLE; | ||
843 | priv->psmode = LBS802_11POWERMODECAM; | 842 | priv->psmode = LBS802_11POWERMODECAM; |
844 | priv->psstate = PS_STATE_FULL_POWER; | 843 | priv->psstate = PS_STATE_FULL_POWER; |
845 | priv->is_deep_sleep = 0; | 844 | priv->is_deep_sleep = 0; |