at86rf230: fix page parameter constraints
authorAlexander Aring <alex.aring@gmail.com>
Sun, 2 Nov 2014 03:18:32 +0000 (04:18 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 2 Nov 2014 03:51:06 +0000 (04:51 +0100)
commitfe23bcd920015bfb655f4b3d129a9368ce8e660c
tree812839d4dfa8db7aa5655af202a0786e2c050819
parent039fada5cd1963c32ed13d18d0dd467fdf966b66
at86rf230: fix page parameter constraints

Since commit e37d2ec82a222f1819e7793a27bc052999a379fb ("mac802154: ops:
declare channel and page as u8") the page parameter can't be below zero.
This patch fix a kbuild test robot warning. Furthermore this check
should be removed and handled by netlink 802.15.4 interface.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c