The code had somehow gotten corrupt (yet in a way that it compiles) so that an intended if-branch was missing. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>