mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 07:03:38 +00:00
[PATCH] libertas: fix size of SSID comparison in stop_adhoc check
Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
4684c23dd4
commit
ad1f329895
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ static int should_stop_adhoc(wlan_adapter *adapter,
|
|||
if (adapter->curbssparams.ssid.ssidlength != assoc_req->ssid.ssidlength)
|
||||
return 1;
|
||||
if (memcmp(adapter->curbssparams.ssid.ssid, assoc_req->ssid.ssid,
|
||||
sizeof(struct WLAN_802_11_SSID)))
|
||||
adapter->curbssparams.ssid.ssidlength))
|
||||
return 1;
|
||||
|
||||
/* FIXME: deal with 'auto' mode somehow */
|
||||
|
|
Loading…
Reference in a new issue