mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
mac802154: ops: declare channel and page as u8
The range of channel and page fits into an unsigned byte range. This patch changes the set_channel parameter definitions for channel and page to u8. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Cc: Alan Ott <alan@signal11.us> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
1630186100
commit
e37d2ec82a
5 changed files with 9 additions and 11 deletions
|
@ -178,9 +178,8 @@ struct ieee802154_ops {
|
|||
int (*xmit_async)(struct ieee802154_hw *hw,
|
||||
struct sk_buff *skb);
|
||||
int (*ed)(struct ieee802154_hw *hw, u8 *level);
|
||||
int (*set_channel)(struct ieee802154_hw *hw,
|
||||
int page,
|
||||
int channel);
|
||||
int (*set_channel)(struct ieee802154_hw *hw, u8 page,
|
||||
u8 channel);
|
||||
int (*set_hw_addr_filt)(struct ieee802154_hw *hw,
|
||||
struct ieee802154_hw_addr_filt *filt,
|
||||
unsigned long changed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue