mac80211: fix warning in ieee80211_probe_client
authorJohannes Berg <johannes.berg@intel.com>
Fri, 11 Nov 2011 19:22:30 +0000 (20:22 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 19:29:35 +0000 (14:29 -0500)
commitb4487c2d0edaf1332d7a9f11b5661044955ef5e2
treec53963fb22579baf8cdec89ec0bbb07bf025e8ea
parent731f8e1c41a4d0ffb589e2395f931f8a1aa6c6a4
mac80211: fix warning in ieee80211_probe_client

The warning is spurious -- if !sta we always exit without using the
unassigned qos variable, and if we do find the sta we assign it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c