diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 13:05:32 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:49:58 -0700 |
commit | 6e22a855b27ddc0725c134cc428ee668e56ac9f8 (patch) | |
tree | 8edfdf69eb5aecc10a358c2ea66e782614d85c78 /drivers/net/wireless/libertas/main.c | |
parent | fdde7084e033263f48d26d5b24ecf626aed29b5b (diff) | |
download | op-kernel-dev-6e22a855b27ddc0725c134cc428ee668e56ac9f8.zip op-kernel-dev-6e22a855b27ddc0725c134cc428ee668e56ac9f8.tar.gz |
[PATCH] libertas: remove adapter->prescan
The value 1 was assigned to it and there was nowhere any code
that would have changed that to 0.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
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 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 5b4a134..e354ebb 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c @@ -1037,8 +1037,6 @@ static void wlan_init_adapter(wlan_private * priv) mutex_init(&adapter->lock); - adapter->prescan = 1; - memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams)); adapter->curbssparams.channel = DEFAULT_AD_HOC_CHANNEL; |