diff options
author | Arend van Spriel <arend@broadcom.com> | 2012-11-19 12:01:05 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-19 14:48:19 +0100 |
commit | f0dea9c73a16caac6b46886eb08f51dd82894ca4 (patch) | |
tree | fa143c4d2ef6cbafa1475c5b22a16c67de6a9269 /fs/autofs4/autofs_i.h | |
parent | f4bda337bbb6e245e2a07f344990adeb6a70ff35 (diff) | |
download | kernel_goldelico_gta04-f0dea9c73a16caac6b46886eb08f51dd82894ca4.zip kernel_goldelico_gta04-f0dea9c73a16caac6b46886eb08f51dd82894ca4.tar.gz kernel_goldelico_gta04-f0dea9c73a16caac6b46886eb08f51dd82894ca4.tar.bz2 |
mac80211: check add_chanctx callback before use in ieee80211_reconfig
During testing our mac80211 driver a fatal error occurred which was
signalled to mac80211. Upon performing the reconfiguration of the
device a WARN_ON was triggered. This warning checked the return value
of drv_add_chanctx(). However, this returns -EOPNOTSUPP when the
driver does not provide the callback. As the callback is optional
better check it is defined before calling drv_add_chanctx().
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
0 files changed, 0 insertions, 0 deletions