Skip to content

Commit

Permalink
reassociate(): fix bug
Browse files Browse the repository at this point in the history
bug was introduced in 488f2e7.
the second call to the new function was always meant to use 1 as parameter,
but i typo'ed. thanks to @1yura for the patch.

addressing #303
  • Loading branch information
rofl0r committed Jul 12, 2020
1 parent 7a0f1ce commit 4316c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ int reassociate(void)
state++;
break;
case 4:
ret = process_authenticate_associate_resp(0);
ret = process_authenticate_associate_resp(1);
if(ret) state++;
else return 0;
break;
Expand Down

0 comments on commit 4316c26

Please sign in to comment.