!radio.available() nrf24l01 master and child

This may, or may not work, depending on the used addresses.

Use radio.avalable(&pipe),
which puts the pipe number with the available packet into the uint8_t pipe;,
so you can select your pipe specific actions inside the if (radio.avalable(&pipe)) { }.