mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection
[ ] conditions should use = instead of == for string equality. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 42796
This commit is contained in:
parent
05777fb947
commit
7f772910a1
@ -152,7 +152,7 @@ tplink_board_detect() {
|
|||||||
model="TP-Link TL-WA901N/ND"
|
model="TP-Link TL-WA901N/ND"
|
||||||
;;
|
;;
|
||||||
"094100"*)
|
"094100"*)
|
||||||
if [ "$hwid" == "09410002" -a "$mid" == "00420001" ]; then
|
if [ "$hwid" = "09410002" -a "$mid" = "00420001" ]; then
|
||||||
model="Rosewill RNX-N360RT"
|
model="Rosewill RNX-N360RT"
|
||||||
hwver=""
|
hwver=""
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user