mac802154: llsec: correctly lookup implicit-indexed keys
authorPhoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Tue, 20 May 2014 15:51:31 +0000 (17:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2014 19:27:32 +0000 (15:27 -0400)
commit53819a6ced288a9abd3c0d36895bd0d006edf093
treea1b229aff0a3a7ad4e901dd635140b6512bc835a
parentbeb584275bdb5633cbb4c6d1bfb424958ecebfea
mac802154: llsec: correctly lookup implicit-indexed keys

Key id comparison for type 1 keys (implicit source, with index) should
return true if mode and id are equal, not false.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/llsec.c