libertas: remove obsolete check for zero-length SSID
Dan Williams
dcbw at localhost.unroutablelocaldomain
Sun Nov 12 12:09:59 EST 2006
Commit: 5ece7bd6a3d47480d6f86d791929b4b326aefacd
Parent: 4daea8dc46cab7db7ec1d253068e1b361e886208
commit 5ece7bd6a3d47480d6f86d791929b4b326aefacd
Author: Dan Williams <dcbw at localhost.localdomain>
AuthorDate: Sun Nov 12 11:52:42 2006 -0500
Commit: Dan Williams <dcbw at localhost.localdomain>
CommitDate: Sun Nov 12 11:52:42 2006 -0500
libertas: remove obsolete check for zero-length SSID
Handling of the 'any' SSID case is now done in the deferred association
worker, not in the SIWESSID wext handler.
---
drivers/net/wireless/libertas/wlan_wext.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/drivers/net/wireless/libertas/wlan_wext.c b/drivers/net/wireless/libertas/wlan_wext.c
index 2d35baa..4d9ef9e 100644
--- a/drivers/net/wireless/libertas/wlan_wext.c
+++ b/drivers/net/wireless/libertas/wlan_wext.c
@@ -2969,12 +2969,6 @@ #endif /* REASSOCIATION */
PRINTM(INFO, "Requested new SSID = %s\n",
(ssid.SsidLength > 0) ? (char *)ssid.Ssid : "any");
- if (!ssid.SsidLength) {
- PRINTM(INFO, "Invalid SSID - aborting set_essid\n");
- ret = -EINVAL;
- goto out;
- }
-
out:
mutex_lock(&Adapter->lock);
if (ret == 0) {
More information about the Commits-kernel
mailing list