wl_iw.c: fix 'array subscript is above array bounds' warning