There is a wash sale rule and he must wait 31 days before repurchasing the security in order to be able to use the capital loss