From: Mohammed Shafi Shajakhan Date: Tue, 4 Sep 2012 14:03:36 +0000 (+0530) Subject: ath9k: Cleanup add/change_interface callbacks X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~163^2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=327967cba4492c36ef498a786016295102521c55;p=pandora-kernel.git ath9k: Cleanup add/change_interface callbacks *Remove all the checks that will be handled by cfg80211 based on the interface combination advertised. For instance, driver supports at the maximum 8 beaconing interface, while we advertise maximum 8 beaconing interface in the interface combination support. *cfg80211 will take care of not allowing us to add an interface that is not supported by the driver, further if the change_interface changes the old interface to a beaconing interface while we had reached the max limit of 8 beaconing interface, again cfg80211 takes care of this stuff! So remove all these checks. *Beautify placing PS wrappers in the appropriate position. Signed-off-by: Mohammed Shafi Shajakhan Signed-off-by: John W. Linville --- Reading git-diff-tree failed