From: Arik Nemtsov Date: Sun, 10 Jun 2012 16:10:45 +0000 (+0300) Subject: wlcore: reconfigure sleep_auth when removing interfaces X-Git-Tag: v3.6-rc1~125^2~57^2~246^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f18cf7c3b99779465def78318b4243d1f66cce8;p=pandora-kernel.git wlcore: reconfigure sleep_auth when removing interfaces The sleep_auth value of the last interface to be set up prevailed when an interface was removed. Take care of this by correctly configuring the value according to the remaining STA/AP interfaces. Take this opportunity to refactor the sleep_auth setting code for better readability. [Small style fix. -- Luca] Signed-off-by: Arik Nemtsov Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed