]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: handle station TX latency allocation errors
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 Jan 2014 14:56:59 +0000 (15:56 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 6 Jan 2014 14:58:10 +0000 (15:58 +0100)
commitf91f5deb64dc1d3fd60c2c4acbe2d5009642d0e3
treee8d8b9490f6d1f06ba4d8b900af0008a1db8656c
parenta23181758959b769e711b906bcdc16cbaa0ea1ce
mac80211: handle station TX latency allocation errors

When the station's TX latency data structures need to be
allocated, handle failures properly and also free all the
structures if there are any other problems.

Move the allocation code up so that allocation failures
don't trigger rate control algorithm calls.

Reported-by: ZHAO Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c