From: Arend van Spriel Date: Wed, 10 Oct 2012 18:13:11 +0000 (-0700) Subject: brcmfmac: remove 'always false' condition from brcmf_c_mkiovar_bsscfg X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~337^2^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b057b55fb9822544995f9268de871ebac81f12;p=pandora-kernel.git brcmfmac: remove 'always false' condition from brcmf_c_mkiovar_bsscfg The parameter buflen is unsigned so the condition buflen < 0 is always false. The patch fixes the if statement checking the buffer length. Reported-by: Dan Carpenter Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: Franky Lin Signed-off-by: John W. Linville --- Reading git-diff-tree failed