Patent ID: 8245766

Claim:
A fastener for mounting a fan to a heat sink, comprising: an upper mounting portion for selectively engaging with the fan; a lower mounting portion for securing to the heat sink; a connecting portion extending through the upper mounting portion and being connected to the lower mounting portion; a resilient portion set on the connecting portion and pressing the upper mounting portion; at least a supporting portion with a first end thereof connected to the upper mounting portion; and an operating portion pivotedly connected to a second end of the at least a supporting portion and comprising a cam; wherein the cam abuts against the connecting portion and is rotatable relative to the at least a supporting portion, along a first direction, to bring the upper mounting portion to move up and down, and make the fastener shift between a locked state in which the upper mounting portion engages with the fan and a released state in which the upper mounting portion disengages from the fan; wherein the connecting portion comprises a shaft and a head formed at an end of the shaft, the resilient portion surrounding the shaft of the connecting portion and being compressed with two ends thereof pressing the head of the connecting portion and the upper mounting portion, respectively; and wherein the connecting portion further comprises a buckle formed at another end of the shaft, the shaft and the buckle together defining a slot therebetween, the lower mounting portion being received in the slot of the connecting portion.