net: wireless: bcmdhd: Fix build break with newer versions of gcc
authorRom Lemarchand <rlemarchand@sta.samsung.com>
Wed, 13 Jul 2011 19:15:34 +0000 (12:15 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Wed, 13 Jul 2011 23:00:10 +0000 (16:00 -0700)
commit85ffb3696ef534c80cf8ffc197fe73e1f3b6da3b
tree0f7a5321212d2c32fd520ad98d93c0918a21197e
parentc95d86dacd351d54da775f7e28da425981f3adef
net: wireless: bcmdhd: Fix build break with newer versions of gcc

In case the WPA cipher can't be determined the pval and gval variables don't
get updated which generates a warning in newer versions of gcc (tested with
4.5.2). Since the bcmdhd driver gets compiled with warnings treated as errors
this change is needed to fix the build.

Change-Id: Ia483777fee54ac526bb0db7c666fa2bf5df17354
Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c