Fixed the bug that was causing the setting of the rpf (set_rpf(...)) to 
missbeahave.

Signed-off-by: Alexandre-Silva <aalexandre.grande@hotmail.com>