[dm800] fix wifi build for legacy kernels