On Sat, 2017-04-08 at 11:07 -0500, Larry Finger wrote: > } else { > - for (pstat->aid = 1; pstat->aid <= NUM_STA; pstat->aid++) > + for (pstat->aid = 1; pstat->aid < NUM_STA; pstat->aid++) > if (pstapriv->sta_aid[pstat->aid - 1] == NULL) > break;
why not start at 0 and increment pstat->aid afterwards? Meh.