[PATCH 2.6.35.y] hostap_cs: fix sleeping function called from invalid context