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)
commitb8adb882391fe549e0a6a8b4afd733796657c00b
treec53963fb22579baf8cdec89ec0bbb07bf025e8ea
parentac50ff9fce5848c807397ea13cd967b160b7e056
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