]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: uninitialized return val in __ieee80211_sta_handle_tspec_ac_params
authorJohn Linville <linville@tuxdriver.com>
Tue, 6 Jan 2015 19:39:33 +0000 (14:39 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 7 Jan 2015 12:57:34 +0000 (13:57 +0100)
commitb1aac1f4efa73f9cc50c405cc82a9219ac38106e
treec88f185ecf5d19104ee4cfcf185488c0cd9eac53
parenta84f4c3057147c269a68b2315dc9f8df86fe4df6
mac80211: uninitialized return val in __ieee80211_sta_handle_tspec_ac_params

The return value should be initialized to false so that there's a
valid return value when there are no sessions that need work to be
done on them. Luckily, the side effect of using the uninitialized
value is an extra harmless driver call.

Coverity: CID 1260096
Fixes: 67a357e38558c ("mac80211: add WMM admission control support")
Signed-off-by: John W. Linville <linville@tuxdriver.com>
[extend commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c