|
@@ -41,7 +41,7 @@ static inline u32 ieee802154_addr_hash(const struct ieee802154_addr *a)
|
|
return (((__force u64)a->extended_addr) >> 32) ^
|
|
return (((__force u64)a->extended_addr) >> 32) ^
|
|
(((__force u64)a->extended_addr) & 0xffffffff);
|
|
(((__force u64)a->extended_addr) & 0xffffffff);
|
|
case IEEE802154_ADDR_SHORT:
|
|
case IEEE802154_ADDR_SHORT:
|
|
- return (__force u32)(a->short_addr);
|
|
|
|
|
|
+ return (__force u32)(a->short_addr + (a->pan_id << 16));
|
|
default:
|
|
default:
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|