]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc398487bb0270db5fc896048129a9fe85dbccb2d
treec53963fb22579baf8cdec89ec0bbb07bf025e8ea
parentf1db657696b6d402bd38a214a7842dc83f06dfc9
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