drivers/net/wireless: Correct code taking the size of a pointer