]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix wext-compat for getting retry value
authorUjjal Roy <royujjal@gmail.com>
Mon, 6 Jan 2014 16:26:11 +0000 (21:56 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 6 Jan 2014 19:00:12 +0000 (20:00 +0100)
commita9e9553767147cbf9fccaee42cff4d5cbb1357d4
tree2dc1861615547f2acceb556c7a93e5d27136daec
parent3d00035111455321fa1d042951918fc61daf976b
cfg80211: fix wext-compat for getting retry value

While getting the retry limit, wext-compat returns the value
without updating the flag for retry->flags is 0. Also in this
case, it updates long retry flag when short and long retry
value are unequal.

So, iwconfig never showing "Retry short limit" and showing
"Retry long limit" when both values are unequal.

Updated the flags and corrected the condition properly.

Signed-off-by: Ujjal Roy <royujjal@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/wext-compat.c