]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix sparse warning for ssid_len on ieee80211_sta_config_auth()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 5 May 2009 19:48:39 +0000 (15:48 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:15:04 +0000 (15:15 -0400)
commit5cad62b285854ff60fecc00a3f9fc24266177933
tree67b7f50304e0027d4028e3729578f666873075d5
parent36f91c6cb8d5bb8afdacacf46bc18323581992bc
mac80211: Fix sparse warning for ssid_len on ieee80211_sta_config_auth()

net/mac80211/mlme.c:2079:28: warning: symbol 'ssid_len' shadows an earlier one
net/mac80211/mlme.c:2022:12: originally declared here

ssid_len is already being declared and checked above so there is
no need for it again.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c