[PATCH] libertas: fix disabling WPA
Found by Guillaume LECERF <glecerf@gmail.com> Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
6b62472a5f
commit
777fa98194
|
@ -240,7 +240,7 @@ static int wlan_cmd_802_11_enable_rsn(wlan_private * priv,
|
||||||
if (*enable)
|
if (*enable)
|
||||||
penableRSN->enable = cpu_to_le16(cmd_enable_rsn);
|
penableRSN->enable = cpu_to_le16(cmd_enable_rsn);
|
||||||
else
|
else
|
||||||
penableRSN->enable = cpu_to_le16(cmd_enable_rsn);
|
penableRSN->enable = cpu_to_le16(cmd_disable_rsn);
|
||||||
}
|
}
|
||||||
|
|
||||||
lbs_deb_leave(LBS_DEB_CMD);
|
lbs_deb_leave(LBS_DEB_CMD);
|
||||||
|
|
Loading…
Reference in New Issue