iwlwifi: ignore 0-length PHY DB sections
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 11 Jun 2013 12:17:21 +0000 (15:17 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2013 18:12:02 +0000 (20:12 +0200)
commit476a9e09cbe37bad93de6e460b76f89f3ad22c9b
treee9269eab24e1a19bdbd0954cb189dd5595b33659
parent0742a75a72ee52a7424554a1d49882dd9db195e3
iwlwifi: ignore 0-length PHY DB sections

This can happen during development but can cause problems,
WARN (once) and go on.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Guy Cohen <guy.cohen@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-phy-db.c