Staging: rtl8192u: add missing curly braces
authorDan Carpenter <error27@gmail.com>
Fri, 10 Dec 2010 12:41:18 +0000 (15:41 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 18:39:55 +0000 (10:39 -0800)
commite91eb2ff1f713837caebbb86a06974cd4b3e8e46
treecf7640f8a181395a697ce8f90c133df21c8caac7
parent88ab8a8445838785e38af378740ab57f8cb6cb8a
Staging: rtl8192u: add missing curly braces

The if condition was ignored in the original code and we just used the
default channel.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c