nl80211: Uninitialized variable
authorBill Jordan <bjordan@rajant.com>
Fri, 10 Sep 2010 15:22:32 +0000 (11:22 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:08:03 +0000 (16:08 -0400)
commita1e567c83f541432e687142570215b75bebb1338
tree5b01247fedf95af42a502aceb28fc4ef6d2541db
parent942623166df3256821e8451273bc07737745e3cb
nl80211: Uninitialized variable

There is a path in nl80211_set_wiphy where result is tested but
uninitialized.

I am hitting this path when I attempt:

sh# iw dev wlan0 set channel 10
command failed: Unknown error 1069727332 (-1069727332)

Signed-off-by: William Jordan <bjordan@rajant.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c