libertas: add auto auth mode feature
Auto auth mode is enabled by default. If user doesn't specify the auth mode, while association driver will first try with open mode and then with shared key mode. If user specifies an auth mode, auto auth is disabled and driver will not try association with another auth mode. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
e1572c5eec
commit
921ca03c8f
@@ -835,6 +835,7 @@ static int lbs_init_adapter(struct lbs_private *priv)
|
||||
priv->is_auto_deep_sleep_enabled = 0;
|
||||
priv->wakeup_dev_required = 0;
|
||||
init_waitqueue_head(&priv->ds_awake_q);
|
||||
priv->authtype_auto = 1;
|
||||
|
||||
mutex_init(&priv->lock);
|
||||
|
||||
|
Reference in New Issue
Block a user