Let \Fq[x] be the ring of polynomials over the finite field \Fq, and let f be a polynomial of \Fq[x]. Let R=(f)\Fq[x] be a quotient ring of \Fq[x] with 0=R=\Fq[x]. Let SR be the multiplicative semigroup of the ring R, and let U(SR) be the group of units of SR. The Davenport constant D(SR) of the multiplicative semigroup SR is the least positive integer ℓ such that for any ℓ polynomials g1,g2,…,gℓ∈\Fq[x], there exists a subset I⊊[1,ℓ] with i∈I∏gi≡i=1∏ℓgi(modf). In this manuscript, we proved that for the case of q=2, D(U(SR))≤D(SR)≤D(U(SR))+δf, where \begin{displaymath} \delta_f=\left\{\begin{array}{ll} 0 & \textrm{if gcd(x∗(x+1F2),f)=1\F2}\\ 1 & \textrm{if gcd(x∗(x+1F2),f)∈{x,x+1F2}}\\ 2 & \textrm{if gcd(x∗(x+1F2),f)=x∗(x+1F2)}\\ \end{array} \right. \end{displaymath} which partially answered an open problem of Wang on Davenport constant for the multiplicative semigroup of (f)\Fq[x] (G.Q. Wang, \emph{Davenport constant for semigroups II,} Journal of Number Theory, 155 (2015) 124--134).