mirror of
https://github.com/wiire-a/pixiewps.git
synced 2025-07-27 15:54:29 +02:00
Removed useless constant
This commit is contained in:
parent
35b3fb030f
commit
a55f17b77a
@ -952,8 +952,8 @@ usage_err:
|
||||
|
||||
if (is_mode_selected(RTL819x)) { /* Ignore --start and --end otherwise */
|
||||
|
||||
wps->start = t_start.tv_sec + SEC_PER_DAY; /* Extra 1 day */
|
||||
wps->end = t_start.tv_sec - MODE3_DAYS * SEC_PER_DAY;
|
||||
wps->start = t_start.tv_sec + SEC_PER_DAY;
|
||||
wps->end = t_start.tv_sec - SEC_PER_DAY;
|
||||
|
||||
/* Attributes --start and --end can be switched start > end or end > start */
|
||||
if (start_p != (time_t) -1) {
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
/* Modes constants */
|
||||
#define MODE_LEN 5
|
||||
#define MODE3_DAYS 1
|
||||
#define MODE3_TRIES (60 * 10)
|
||||
#define SEC_PER_DAY 86400
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user