OSDN Git Service

mac80211: mesh: remove mesh_id check
authorJohannes Berg <johannes.berg@intel.com>
Tue, 21 Jan 2014 20:04:00 +0000 (21:04 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:48:16 +0000 (21:48 +0100)
commit80e207c32bff0f9e990f4ff629c809bd20c7950a
treec10695001bf75d2c056a5006ffe2a28ebf4fa049
parent1ff79dfa37d36c16d91eeeebb8cc3dcba32c2c16
mac80211: mesh: remove mesh_id check

The mesh_id is an array so can't ever be NULL, it looks
like mesh_id_len check was intended instead. However,
since the previous patch, cfg80211 does the check, so
just remove it here.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c