]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: remove get/set antenna and tx power warnings
authorJohannes Berg <johannes.berg@intel.com>
Thu, 9 Jun 2016 07:40:55 +0000 (09:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 9 Jun 2016 07:44:56 +0000 (09:44 +0200)
commit6cbf6236d54c24b9a29e6892549c25b6902b44ce
treed506e5701641b9cce81dab78a47f4c1e79c37b73
parent6fe04128f158c5ad27e7504bfdf1b12e63331bc9
cfg80211: remove get/set antenna and tx power warnings

Since set_tx_power and set_antenna are frequently implemented
without the matching get_tx_power/get_antenna, we shouldn't
have added warnings for those. Remove them.

The remaining ones are correct and need to be implemented
symmetrically for correct operation.

Cc: stable@vger.kernel.org
Fixes: de3bb771f471 ("cfg80211: add more warnings for inconsistent ops")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c