iwlwifi: dvm: fix zero LQ CMD sending avoidance
authorEmmanuel Grumbach <[email protected]>
Wed, 22 May 2013 07:48:10 +0000 (10:48 +0300)
committerJohannes Berg <[email protected]>
Mon, 27 May 2013 09:33:57 +0000 (11:33 +0200)
commita87783699b23395c46bbeeb5d28f6db24897bf26
treea4e66fafe6b1ba04c1ac3c2f43664a3f6399ba1b
parente3d4bc8cc0230e8dc8033484666f03f87392a8c4
iwlwifi: dvm: fix zero LQ CMD sending avoidance

In 63b77bf489881747c5118476918cc8c29378ee63

iwlwifi: dvm: don't send zeroed LQ cmd

I tried to avoid to send zeroed LQ cmd, but I made a (very)
stupid mistake in the memcmp.
Since this patch has been ported to stable, the fix should
go to stable too.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=58341

Cc: [email protected]
Reported-by: Hinnerk van Bruinehsen <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
drivers/net/wireless/iwlwifi/dvm/sta.c