nl802154: fix cca mode wpan phy flag
authorAlexander Aring <alex.aring@gmail.com>
Tue, 26 May 2015 21:11:31 +0000 (23:11 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 26 May 2015 21:45:15 +0000 (23:45 +0200)
commitfc4f80524368dbf3fa2eba639c7b79bb014aea0a
treea3377a94ed970ee87bd54fa4201b3aa2fe22cbf6
parent641459ca336edc009e044b76d16ee3d1ca6464c0
nl802154: fix cca mode wpan phy flag

This patch fix the handling to call cca mode setting. If the phy isn't
flag then the driver doesn't support this setting.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reported-by: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/nl802154.c