]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: separate firmware version warning
authorJohannes Berg <johannes.berg@intel.com>
Sat, 23 Jul 2011 17:24:44 +0000 (10:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 20:04:02 +0000 (16:04 -0400)
commit5c6f351bc136e208a1a04a00b9244833ebc93bdd
treea3d254a0af08426c4ab8ba114106e5f5821b45e0
parent9c7a40e2d144a4a24153520a071fb38e48d3683f
iwlagn: separate firmware version warning

We sometimes need to support new firmware API for
a while before we can publish them since testing
them fully takes a long time. We could keep all
the new code private, but that causes plenty of
problems and sometimes we can give a pre-release
version of firmware to people who need to test.
However, when we just bump the API version, the
driver will warn everybody that their firmware is
outdated, when in fact it isn't. (Currently our
case for this doesn't really change the API but
bumping the API version is necessary because the
firmware isn't fully backward compatible)

In order to handle this in the future, add a new
"api_ok" version; only below this will the driver
warn that the uCode is too old.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.h