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 19:44:03 +0100 |
commit | 0e78ff8fcc6dabeda313719deb751afbd20bea41 (patch) | |
tree | 00dc4a49a67b2daa127f30ab52ff314b3b4930d9 /drivers/net/wireless/libertas/cmd.c | |
parent | libertas: make mesh configurable (diff) | |
download | linux-0e78ff8fcc6dabeda313719deb751afbd20bea41.tar.xz 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/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 4a0d8f4188ca..42051f7cad6d 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c @@ -842,9 +842,6 @@ int lbs_set_radio(struct lbs_private *priv, u8 preamble, u8 radio_on) if (priv->fwrelease < 0x09000000) { switch (preamble) { case RADIO_PREAMBLE_SHORT: - if (!(priv->capability & WLAN_CAPABILITY_SHORT_PREAMBLE)) - goto out; - /* Fall through */ case RADIO_PREAMBLE_AUTO: case RADIO_PREAMBLE_LONG: cmd.control = cpu_to_le16(preamble); |