diff options
author | Holger Schurig <holgerschurig@googlemail.com> | 2009-12-02 15:26:03 +0100 |
---|---|---|
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) | |
download | blackbird-op-linux-0e78ff8fcc6dabeda313719deb751afbd20bea41.tar.gz blackbird-op-linux-0e78ff8fcc6dabeda313719deb751afbd20bea41.zip |
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) priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; priv->radio_on = 1; priv->enablehwauto = 1; - priv->capability = WLAN_CAPABILITY_SHORT_PREAMBLE; priv->psmode = LBS802_11POWERMODECAM; priv->psstate = PS_STATE_FULL_POWER; priv->is_deep_sleep = 0; |