nl80211: Fix initial add_ifidx() realloc to not forget values
authorM. Braun <michael-dev@fami-braun.de>
Thu, 15 Apr 2010 21:39:59 +0000 (00:39 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 15 Apr 2010 21:39:59 +0000 (00:39 +0300)
commit0ab7a701ab538e8d3e4b1bd08bb2395a06a8ca7f
tree4e9cd7f291ffc98cb2515b23584ac26b2bc1ece2
parent97cfcf6482febf6ac158a3f888cb0ac6623e3e92
nl80211: Fix initial add_ifidx() realloc to not forget values

We need to make a copy of the old entries the first time the
if_indices buffer gets allocated.
src/drivers/driver_nl80211.c